From 133f438267d3d6065c14b91c57a1590353b131a3 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Tue, 16 Dec 2025 08:26:03 +0800 Subject: [PATCH] Add `allowBuilds` to pnpm-workspace.json (#5222) 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 8f3533c4468..8cc5aca7085 100644 --- a/src/schemas/json/pnpm-workspace.json +++ b/src/schemas/json/pnpm-workspace.json @@ -813,6 +813,10 @@ "items": { "type": "string" } + }, + "allowBuilds": { + "description": "A map of package matchers to explicitly allow (`true`) or disallow (`false`) script execution. This field replaces `onlyBuiltDependencies` and `ignoredBuiltDependencies` (which are also deprecated by this new setting), providing a single source of truth.", + "type": "object" } }, "additionalProperties": false