Skip to content

Commit bc1a401

Browse files
authored
Add hoistingLimits to pnpm-workspace (#5744)
Co-authored-by: btea <btea@users.noreply.github.com>
1 parent 6f2e0a1 commit bc1a401

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/schemas/json/pnpm-workspace.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,15 @@
900900
"trustLockfile": {
901901
"description": "A new trustLockfile setting controls whether pnpm install re-applies the `minimumReleaseAge` / `trustPolicy: 'no-downgrade'` checks to every entry in the loaded lockfile. When true, the install treats the lockfile as already-trusted and skips the verification pass — useful for closed-source projects where every commit comes from a trusted author. The default is false, so verification stays on by default.",
902902
"type": "boolean"
903+
},
904+
"hoistingLimits": {
905+
"description": "Added a new hoistingLimits setting for `nodeLinker: hoisted` installs, mirroring yarn's `nmHoistingLimits`. It accepts `none` (the default — hoist as far as possible), workspaces (hoist only as far as each workspace package), or dependencies (hoist only up to each workspace package's direct dependencies).",
906+
"oneOf": [
907+
{
908+
"type": "string",
909+
"enum": ["node", "workspaces", "dependencies"]
910+
}
911+
]
903912
}
904913
},
905914
"additionalProperties": false

0 commit comments

Comments
 (0)