@pnpm/config
Advanced tools
Comparing version 9.1.0 to 9.2.0
# @pnpm/config | ||
## 9.2.0 | ||
### Minor Changes | ||
- 71a8c8ce3: Added a new setting: `public-hoist-pattern`. This setting can be overwritten by `--[no-]shamefully-hoist`. The default value of `public-hoist-pattern` is `types/*`. | ||
### Patch Changes | ||
- Updated dependencies [71a8c8ce3] | ||
- @pnpm/types@6.1.0 | ||
## 9.1.0 | ||
@@ -4,0 +15,0 @@ |
@@ -89,2 +89,3 @@ import { ProjectManifest, Registries } from '@pnpm/types'; | ||
hoistPattern?: string[]; | ||
publicHoistPattern?: string[]; | ||
useStoreServer?: boolean; | ||
@@ -91,0 +92,0 @@ useRunningStoreServer?: boolean; |
@@ -54,2 +54,3 @@ "use strict"; | ||
'production': [null, true], | ||
'public-hoist-pattern': Array, | ||
'publish-branch': String, | ||
@@ -127,6 +128,6 @@ 'reporter': String, | ||
'pending': false, | ||
'public-hoist-pattern': ['@types/*'], | ||
'registry': npmDefaults.registry, | ||
'save-peer': false, | ||
'save-workspace-protocol': true, | ||
'shamefully-hoist': false, | ||
'shared-workspace-lockfile': true, | ||
@@ -284,2 +285,10 @@ 'shared-workspace-shrinkwrap': true, | ||
} | ||
switch (pnpmConfig.shamefullyHoist) { | ||
case false: | ||
delete pnpmConfig.publicHoistPattern; | ||
break; | ||
case true: | ||
pnpmConfig.publicHoistPattern = ['*']; | ||
break; | ||
} | ||
if (typeof pnpmConfig['color'] === 'boolean') { | ||
@@ -286,0 +295,0 @@ switch (pnpmConfig['color']) { |
{ | ||
"name": "@pnpm/config", | ||
"version": "9.1.0", | ||
"version": "9.2.0", | ||
"description": "Gets configuration options for pnpm", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
"@pnpm/error": "1.2.0", | ||
"@pnpm/types": "6.0.0", | ||
"@pnpm/types": "6.1.0", | ||
"@zkochan/npm-conf": "2.0.0", | ||
@@ -39,0 +39,0 @@ "camelcase": "6.0.0", |
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
24626
479
+ Added@pnpm/types@6.1.0(transitive)
- Removed@pnpm/types@6.0.0(transitive)
Updated@pnpm/types@6.1.0