From a745d71b6b12d7f9d88b8137ae33b1d79c127d64 Mon Sep 17 00:00:00 2001 From: adm-jdlc Date: Tue, 19 May 2026 10:58:15 -0400 Subject: [PATCH] fix(deps): extend pnpm.onlyBuiltDependencies for pnpm@11 compatibility pnpm 11 blocks native build scripts by default unless the package is listed in pnpm.onlyBuiltDependencies. The current allowlist only contains better-sqlite3 and node-pty, but the lockfile has 5 more packages with material install/postinstall logic: - @parcel/watcher (native compile) - @swc/core (platform binary fetch) - esbuild (platform binary fetch) - sharp (platform binary fetch) - unrs-resolver (NAPI native) Without these, fresh `bash install.sh --docker` runs against pnpm@latest hit ERR_PNPM_IGNORED_BUILDS, better-sqlite3 silently fails to compile, and the Dockerfile's postinstall verify step exits non-zero. vue-demi also appears in the warning but is intentionally omitted: its postinstall is a no-op try/catch shim with no side effects. Verified locally: `bash install.sh --docker` completes cleanly with pnpm 11.1.3 after this change. Fixes #702 --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7834e61354..e2feef6944 100644 --- a/package.json +++ b/package.json @@ -95,8 +95,13 @@ }, "pnpm": { "onlyBuiltDependencies": [ + "@parcel/watcher", + "@swc/core", "better-sqlite3", - "node-pty" + "esbuild", + "node-pty", + "sharp", + "unrs-resolver" ] } }