From 163a36fa0830c5f446a3b79580915d0d578034f8 Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Thu, 25 Jun 2026 13:35:00 +0300 Subject: [PATCH] ci: allow esbuild/@swc native build scripts under pnpm 10 The fedora-44 runner's pnpm 10 blocks dependency build scripts by default, so `pnpm install` failed the web build with ERR_PNPM_IGNORED_BUILDS. esbuild and @swc/core need their postinstall to place native binaries for vite; allow them via pnpm.onlyBuiltDependencies, and explicitly ignore the harmless react-vertical-timeline-component postinstall. Does not change the lockfile. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01X7zF7Kf4JqDwa6M8Qgge9M --- ui/package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ui/package.json b/ui/package.json index bbaabc7..2382044 100644 --- a/ui/package.json +++ b/ui/package.json @@ -33,5 +33,14 @@ "@vitejs/plugin-react-swc": "^3.7.2", "typescript": "~5.7.0", "vite": "^6.0.0" + }, + "pnpm": { + "onlyBuiltDependencies": [ + "@swc/core", + "esbuild" + ], + "ignoredBuiltDependencies": [ + "react-vertical-timeline-component" + ] } }