@pnpm/config
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -131,2 +131,10 @@ "use strict"; | ||
pnpmConfig.saveOptional = false; | ||
if (pnpmConfig.linkWorkspacePackages) { | ||
if (opts.cliArgs['link-workspace-packages']) { | ||
const err = new Error('Configuration conflict. "link-workspace-packages" may not be used with "global"'); | ||
err['code'] = 'ERR_PNPM_CONFIG_CONFLICT_LINK_WORKSPACE_PACKAGES_WITH_GLOBAL'; // tslint:disable-line:no-string-literal | ||
throw err; | ||
} | ||
pnpmConfig.linkWorkspacePackages = false; | ||
} | ||
} | ||
@@ -133,0 +141,0 @@ else { |
{ | ||
"name": "@pnpm/config", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Gets configs for pnpm", | ||
@@ -41,8 +41,12 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/mz": "^0.0.32", | ||
"@types/tape": "^4.2.32", | ||
"@types/tempy": "^0.1.0", | ||
"mos": "^2.0.0-alpha.3", | ||
"mos-plugin-readme": "^1.0.4", | ||
"mz": "^2.7.0", | ||
"package-preview": "^1.0.1", | ||
"rimraf": "^2.6.2", | ||
"tape": "^4.8.0", | ||
"tempy": "^0.2.1", | ||
"ts-node": "^6.2.0", | ||
@@ -49,0 +53,0 @@ "tslint": "^5.8.0", |
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
18193
239
13