From bf517a4549163e72616497a493b18e074d99b9e2 Mon Sep 17 00:00:00 2001 From: Sofiane Date: Wed, 17 Jun 2026 00:54:11 +0200 Subject: [PATCH] build: approve esbuild build script (silence pnpm 10 ignored-scripts warning) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpm 10 no longer runs dependencies' build scripts unless explicitly approved, so every install logged: Warning: Ignored build scripts: esbuild@... The builds still succeed (esbuild's binary ships via its @esbuild/ optional dependency, not the postinstall), so this was a benign warning — but it dirtied the Vercel build log (and watcher's CI log). Approve esbuild via pnpm.onlyBuiltDependencies in each standalone project (site, watcher, video — no workspace, separate lockfiles). Approval is by package name, covering all pinned esbuild versions. Lockfiles unchanged. Verified: pnpm install in all three → no ignored-scripts warning; site build + watcher tests (25) green. --- site/package.json | 3 +++ video/package.json | 3 +++ watcher/package.json | 3 +++ 3 files changed, 9 insertions(+) diff --git a/site/package.json b/site/package.json index cda7f60..726ec7e 100644 --- a/site/package.json +++ b/site/package.json @@ -36,5 +36,8 @@ "typescript": "~6.0.2", "typescript-eslint": "^8.59.2", "vite": "^8.0.12" + }, + "pnpm": { + "onlyBuiltDependencies": ["esbuild"] } } diff --git a/video/package.json b/video/package.json index 4ba1e0b..1d32921 100644 --- a/video/package.json +++ b/video/package.json @@ -23,5 +23,8 @@ "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "typescript": "5.6.3" + }, + "pnpm": { + "onlyBuiltDependencies": ["esbuild"] } } diff --git a/watcher/package.json b/watcher/package.json index 8e29316..871c123 100644 --- a/watcher/package.json +++ b/watcher/package.json @@ -20,5 +20,8 @@ "tsx": "^4.19.0", "vitest": "^2.1.0", "@types/node": "^22.0.0" + }, + "pnpm": { + "onlyBuiltDependencies": ["esbuild"] } }