@npmcli/config
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -569,2 +569,3 @@ // TODO: set the scope config from package.json or explicit cli config | ||
const cliWorkspaces = this[_get]('workspaces', 'cli') | ||
const isGlobal = this[_get]('global') || this[_get]('location') === 'global' | ||
@@ -583,4 +584,4 @@ for (const p of walkUp(this.cwd)) { | ||
// if workspaces are disabled, return now | ||
if (cliWorkspaces === false) { | ||
// if workspaces are disabled, or we're in global mode, return now | ||
if (cliWorkspaces === false || isGlobal) { | ||
return | ||
@@ -587,0 +588,0 @@ } |
{ | ||
"name": "@npmcli/config", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"files": [ | ||
@@ -33,7 +33,7 @@ "bin", | ||
"devDependencies": { | ||
"@npmcli/template-oss": "^2.7.1", | ||
"@npmcli/template-oss": "^2.8.1", | ||
"tap": "^15.1.6" | ||
}, | ||
"dependencies": { | ||
"@npmcli/map-workspaces": "^2.0.0", | ||
"@npmcli/map-workspaces": "^2.0.1", | ||
"ini": "^2.0.0", | ||
@@ -51,4 +51,4 @@ "mkdirp-infer-owner": "^2.0.0", | ||
"templateOSS": { | ||
"version": "2.7.1" | ||
"version": "2.8.1" | ||
} | ||
} |
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
47864
1067