Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/schemas/json/pnpm-workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,15 @@
"preferOffline": {
"description": "Bypass staleness checks for cached data. Missing data will still be requested from the server.",
"type": "boolean"
},
"trustPolicy": {
"description": "When set to no-downgrade, pnpm will fail if a package's trust level has decreased compared to previous releases. For example, if a package was previously published by a trusted publisher but now only has provenance or no trust evidence, installation will fail. This helps prevent installing potentially compromised versions.",
"oneOf": [
{
"type": "string",
"enum": ["off", "no-downgrade"]
}
]
}
},
"additionalProperties": false
Expand Down