@abmao/forb
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -7,5 +7,5 @@ import { globby } from 'globby' | ||
const regExp = new RegExp('\/package\\.json$') | ||
const filesPath = values.filter(item => regExp.test(item)) | ||
const filesPath = values.filter(item => regExp.test(item)).sort() | ||
const dirs = filesPath.map(item => item.replace(regExp, '')) | ||
return { dirs, filesPath } | ||
} |
{ | ||
"name": "@abmao/forb", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Get the directory path of `packages` and `packages.json` path", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
3072