@pnpm/config
Advanced tools
Comparing version 2.3.0-0 to 2.3.0-1
@@ -148,2 +148,18 @@ "use strict"; | ||
} | ||
if (pnpmConfig.sharedWorkspaceShrinkwrap) { | ||
if (opts.cliArgs['shared-workspace-shrinkwrap']) { | ||
const err = new Error('Configuration conflict. "shared-workspace-shrinkwrap" may not be used with "global"'); | ||
err['code'] = 'ERR_PNPM_CONFIG_CONFLICT_SHARED_WORKSPACE_SHRINKWRAP_WITH_GLOBAL'; // tslint:disable-line:no-string-literal | ||
throw err; | ||
} | ||
pnpmConfig.sharedWorkspaceShrinkwrap = false; | ||
} | ||
if (pnpmConfig.shrinkwrapDirectory) { | ||
if (opts.cliArgs['shrinkwrap-directory']) { | ||
const err = new Error('Configuration conflict. "shrinkwrap-directory" may not be used with "global"'); | ||
err['code'] = 'ERR_PNPM_CONFIG_CONFLICT_SHRINKWRAP_DIRECTORY_WITH_GLOBAL'; // tslint:disable-line:no-string-literal | ||
throw err; | ||
} | ||
delete pnpmConfig.shrinkwrapDirectory; | ||
} | ||
} | ||
@@ -150,0 +166,0 @@ else { |
{ | ||
"name": "@pnpm/config", | ||
"version": "2.3.0-0", | ||
"version": "2.3.0-1", | ||
"description": "Gets configs for pnpm", | ||
@@ -34,3 +34,3 @@ "main": "lib/index.js", | ||
"@types/camelcase": "^4.1.0", | ||
"@types/node": "^9.4.6 || 10", | ||
"@types/node": "10.12.0", | ||
"@types/which": "^1.3.1", | ||
@@ -45,3 +45,3 @@ "@zkochan/npm-conf": "1.2.1", | ||
"@types/tape": "^4.2.32", | ||
"@types/tempy": "^0.1.0", | ||
"@types/tempy": "^0.2.0", | ||
"mos": "^2.0.0-alpha.3", | ||
@@ -48,0 +48,0 @@ "mos-plugin-readme": "^1.0.4", |
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
20814
272
+ Added@types/node@10.12.0(transitive)
- Removed@types/node@10.17.60(transitive)
Updated@types/node@10.12.0