diff --git a/src/schemas/json/pnpm-workspace.json b/src/schemas/json/pnpm-workspace.json index eaf4d9f3e61..21b7e7671e1 100644 --- a/src/schemas/json/pnpm-workspace.json +++ b/src/schemas/json/pnpm-workspace.json @@ -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