@pnpm/config
Advanced tools
Comparing version 11.1.0 to 11.2.0
# @pnpm/config | ||
## 11.2.0 | ||
### Minor Changes | ||
- ad69677a7: A new option added that allows to resolve the global bin directory from directories to which there is no write access. | ||
### Patch Changes | ||
- Updated dependencies [ad69677a7] | ||
- @pnpm/global-bin-dir@1.2.0 | ||
## 11.1.0 | ||
@@ -4,0 +15,0 @@ |
@@ -8,2 +8,3 @@ import { Config, UniversalOptions } from './Config'; | ||
declare const _default: (opts: { | ||
globalDirShouldAllowWrite?: boolean; | ||
cliOptions: CliOptions; | ||
@@ -10,0 +11,0 @@ packageManager: { |
@@ -206,3 +206,3 @@ "use strict"; | ||
? cliOptions.dir : path.resolve(cliOptions.dir, 'bin')) | ||
: global_bin_dir_1.default([pnpmConfig.npmGlobalBinDir]); | ||
: global_bin_dir_1.default([pnpmConfig.npmGlobalBinDir], { shouldAllowWrite: opts.globalDirShouldAllowWrite === true }); | ||
pnpmConfig.allowNew = true; | ||
@@ -209,0 +209,0 @@ pnpmConfig.ignoreCurrentPrefs = true; |
{ | ||
"name": "@pnpm/config", | ||
"version": "11.1.0", | ||
"version": "11.2.0", | ||
"description": "Gets configuration options for pnpm", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
"@pnpm/error": "1.2.0", | ||
"@pnpm/global-bin-dir": "^1.1.1", | ||
"@pnpm/global-bin-dir": "^1.2.0", | ||
"@pnpm/types": "6.2.0", | ||
@@ -48,8 +48,8 @@ "@zkochan/npm-conf": "2.0.0", | ||
"@types/mz": "^2.7.1", | ||
"@types/ramda": "^0.27.6", | ||
"@types/ramda": "^0.27.11", | ||
"@types/which": "1.3.2", | ||
"mz": "2.7.0", | ||
"tempy": "0.5.0" | ||
"tempy": "^0.6.0" | ||
}, | ||
"funding": "https://opencollective.com/pnpm" | ||
} |
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
27103
495
Updated@pnpm/global-bin-dir@^1.2.0