Comparing version 0.21.2 to 0.22.0
@@ -19,3 +19,3 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty'; | ||
import pluralize from 'pluralize'; | ||
import Config, { array, bool, string } from 'optimal'; | ||
import Config, { array, bool, shape, string, union } from 'optimal'; | ||
import formatModuleName from './helpers/formatModuleName'; | ||
@@ -85,3 +85,3 @@ import isObject from './helpers/isObject'; | ||
silent: bool() | ||
}, pluralize(pluginAlias), array(string())), { | ||
}, pluralize(pluginAlias), array(union([string(), shape(_defineProperty({}, pluginAlias, string()))]))), { | ||
name: 'ConfigLoader', | ||
@@ -88,0 +88,0 @@ unknown: true |
@@ -136,3 +136,3 @@ 'use strict'; | ||
silent: (0, _optimal.bool)() | ||
}, (0, _pluralize2.default)(pluginAlias), (0, _optimal.array)((0, _optimal.string)())), { | ||
}, (0, _pluralize2.default)(pluginAlias), (0, _optimal.array)((0, _optimal.union)([(0, _optimal.string)(), (0, _optimal.shape)((0, _defineProperty3.default)({}, pluginAlias, (0, _optimal.string)()))]))), { | ||
name: 'ConfigLoader', | ||
@@ -139,0 +139,0 @@ unknown: true |
{ | ||
"name": "boost", | ||
"version": "0.21.2", | ||
"version": "0.22.0", | ||
"description": "Robust pipeline for creating build tools that separate logic into routines and tasks.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -14,3 +14,3 @@ /** | ||
import pluralize from 'pluralize'; | ||
import Config, { array, bool, string } from 'optimal'; | ||
import Config, { array, bool, shape, string, union } from 'optimal'; | ||
import formatModuleName from './helpers/formatModuleName'; | ||
@@ -104,3 +104,6 @@ import isObject from './helpers/isObject'; | ||
silent: bool(), | ||
[pluralize(pluginAlias)]: array(string()), | ||
[pluralize(pluginAlias)]: array(union([ | ||
string(), | ||
shape({ [pluginAlias]: string() }), | ||
])), | ||
}, { | ||
@@ -107,0 +110,0 @@ name: 'ConfigLoader', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
360122
4252