size-limit
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -150,3 +150,3 @@ let chalk = require('chalk') | ||
} else { | ||
fix += ` at ` | ||
fix += ' at ' | ||
} | ||
@@ -153,0 +153,0 @@ fix += chalk.bold(config.configPath) |
{ | ||
"name": "size-limit", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "CLI tool for Size Limit", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
const MESSAGES = { | ||
noPackage: () => ( | ||
`Size Limit did’t find *package.json*. ` + | ||
`Create npm package and run Size Limit there.` | ||
'Size Limit did’t find *package.json*. ' + | ||
'Create npm package and run Size Limit there.' | ||
), | ||
@@ -11,23 +11,23 @@ unknownArg: arg => ( | ||
`Argument *--${ arg }* works only with *@size-limit/webpack* plugin` + | ||
(arg === 'why' ? `. You can add Bundle Analyzer to you own bundler.` : '') | ||
(arg === 'why' ? '. You can add Bundle Analyzer to you own bundler.' : '') | ||
), | ||
noConfig: () => ( | ||
`Create Size Limit config in *package.json*` | ||
'Create Size Limit config in *package.json*' | ||
), | ||
noArrayConfig: () => ( | ||
`Size Limit config must contain *an array*` | ||
'Size Limit config must contain *an array*' | ||
), | ||
emptyConfig: () => ( | ||
`Size Limit config must *not be empty*` | ||
'Size Limit config must *not be empty*' | ||
), | ||
noObjectCheck: () => ( | ||
`Size Limit config array should contain *only objects*` | ||
'Size Limit config array should contain *only objects*' | ||
), | ||
pathNotString: () => ( | ||
`The *path* in Size Limit config ` + | ||
`must be *a string* or *an array of strings*` | ||
'The *path* in Size Limit config ' + | ||
'must be *a string* or *an array of strings*' | ||
), | ||
entryNotString: () => ( | ||
`The *entry* in Size Limit config ` + | ||
`must be *a string* or *an array of strings*` | ||
'The *entry* in Size Limit config ' + | ||
'must be *a string* or *an array of strings*' | ||
), | ||
@@ -34,0 +34,0 @@ pluginlessConfig: (opt, mod) => ( |
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