From 4c6ee03df66216771cc9a80c4520017e08b3fca9 Mon Sep 17 00:00:00 2001 From: meowarex Date: Sun, 17 May 2026 13:20:39 +0000 Subject: [PATCH] fix(ci): allow esbuild build scripts to fix ERR_PNPM_IGNORED_BUILDS pnpm v10 blocks dependency build/postinstall scripts by default and requires interactive 'pnpm approve-builds' to whitelist them, which is not usable in CI. Declare esbuild as an allowed build in both pnpm-workspace.yaml (canonical location since pnpm 10.7) and package.json (legacy/parity) so installs run non-interactively. --- package.json | 5 +++++ pnpm-workspace.yaml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/package.json b/package.json index a26c22a..2b1e692 100644 --- a/package.json +++ b/package.json @@ -18,5 +18,10 @@ "rimraf": "^6.0.1", "tsx": "^4.19.4", "typescript": "^5.8.3" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "esbuild" + ] } } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index f06af05..863f105 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,5 @@ packages: - "plugins/*" + +onlyBuiltDependencies: + - esbuild