From 5f6ecda478180037a3bfca400d9a27526d480315 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Wed, 31 Dec 2025 15:10:13 +0800 Subject: [PATCH] Add `trustPolicyIgnoreAfter` (#5256) Co-authored-by: btea --- src/schemas/json/pnpm-workspace.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/schemas/json/pnpm-workspace.json b/src/schemas/json/pnpm-workspace.json index 0e1aa7fea7a..276236bf49d 100644 --- a/src/schemas/json/pnpm-workspace.json +++ b/src/schemas/json/pnpm-workspace.json @@ -826,6 +826,10 @@ "blockExoticSubdeps": { "description": "When set to true, it prevents the resolution of exotic protocols (like git+ssh: or direct https: tarballs) in transitive dependencies. Only direct dependencies are allowed to use exotic sources.", "type": "boolean" + }, + "trustPolicyIgnoreAfter": { + "description": "Allows ignoring the trust policy check for packages published more than the specified number of minutes ago. This is useful when enabling strict trust policies, as it allows older versions of packages (which may lack a process for publishing with signatures or provenance) to be installed without manual exclusion, assuming they are safe due to their age.", + "type": "number" } }, "additionalProperties": false