size-limit
Advanced tools
Comparing version 5.0.1 to 5.0.2
let { | ||
bgGreen, | ||
yellow, | ||
bgRed, | ||
black, | ||
green, | ||
bold, | ||
gray, | ||
green, | ||
red, | ||
yellow | ||
red | ||
} = require('colorette') | ||
@@ -108,3 +108,3 @@ let { join } = require('path') | ||
if (check.missed) { | ||
print(red(`File not found: ${check.path}`)) | ||
print(red(`Size Limit can’t find files at ${check.path}`)) | ||
continue | ||
@@ -189,7 +189,2 @@ } | ||
if (config.missed) { | ||
let fix = getFixText('Specify correct file path', config) | ||
print(yellow(fix)) | ||
} | ||
if (plugins.has('webpack') && config.saveBundle) { | ||
@@ -196,0 +191,0 @@ let statsFilepath = join(config.saveBundle, 'stats.json') |
@@ -21,2 +21,3 @@ function toArray(obj) { | ||
.concat(toArray(pkg.packageJson.devDependencies)) | ||
.concat(toArray(pkg.packageJson.optionalDependencies)) | ||
.filter(i => i.startsWith('@size-limit/')) | ||
@@ -23,0 +24,0 @@ .reduce( |
{ | ||
"name": "size-limit", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "CLI tool for Size Limit", | ||
@@ -27,4 +27,4 @@ "keywords": [ | ||
"lilconfig": "^2.0.3", | ||
"mico-spinner": "^1.1.1" | ||
"mico-spinner": "^1.2.1" | ||
} | ||
} |
@@ -83,3 +83,3 @@ let { resolve } = require('path') | ||
if (hasArg('--watch')) { | ||
let watcher = chokidar.watch(['**/*.js', 'package.json'], { | ||
let watcher = chokidar.watch(['**/*'], { | ||
ignored: '**/node_modules/**' | ||
@@ -86,0 +86,0 @@ }) |
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
28355
813
Updatedmico-spinner@^1.2.1