Comparing version 1.5.1 to 1.6.0
@@ -33,5 +33,4 @@ #!/usr/bin/env node | ||
} | ||
const workspaceGlobs = JSON.parse(fs.readFileSync('./package.json', 'utf8')).workspace || [ | ||
'packages/*' | ||
]; | ||
let jsonGlobs = JSON.parse(fs.readFileSync('./package.json', 'utf8')).workspaces; | ||
const workspaceGlobs = (jsonGlobs || ['packages/*']).map(glob => (glob.indexOf('*') >= 0 ? glob : glob + '/*')); | ||
const pkgs = workspace_1.listPkgs('./', workspaceGlobs); | ||
@@ -38,0 +37,0 @@ const pkgPaths = _.mapValues(_.keyBy(pkgs, p => p.json.name), v => v.path); |
{ | ||
"name": "wsrun", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "executes commands on packages in parallel, but is aware of the dependencies between them", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
Sorry, the diff of this file is not supported yet
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
46067
656