From 039e8957bb014031244eda6af21bda6c21ce4976 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sat, 30 May 2026 20:14:04 +0800 Subject: [PATCH] feat: add trustLockfile to pnpm-workspace --- 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 d03603d55c3..e8aac3d5a00 100644 --- a/src/schemas/json/pnpm-workspace.json +++ b/src/schemas/json/pnpm-workspace.json @@ -896,6 +896,10 @@ "additionalProperties": { "type": "string" } + }, + "trustLockfile": { + "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.", + "type": "boolean" } }, "additionalProperties": false