mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-10 18:18:56 -04:00
fix(core): add publicHoistPattern to the fields of InstallOptions
This commit is contained in:
5
.changeset/rich-moose-cross.md
Normal file
5
.changeset/rich-moose-cross.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/core": patch
|
||||
---
|
||||
|
||||
Add `publicHoistPattern` to the fields of `InstallOptions`.
|
||||
@@ -84,6 +84,7 @@ export interface StrictInstallOptions {
|
||||
modulesCacheMaxAge: number
|
||||
peerDependencyRules: PeerDependencyRules
|
||||
|
||||
publicHoistPattern: string[] | undefined
|
||||
hoistPattern: string[] | undefined
|
||||
forceHoistPattern: boolean
|
||||
|
||||
@@ -113,6 +114,7 @@ const defaults = async (opts: InstallOptions) => {
|
||||
forceSharedLockfile: false,
|
||||
frozenLockfile: false,
|
||||
hoistPattern: undefined,
|
||||
publicHoistPattern: undefined,
|
||||
hooks: {},
|
||||
ignoreCurrentPrefs: false,
|
||||
ignoreScripts: false,
|
||||
|
||||
Reference in New Issue
Block a user