diff --git a/ui/package.json b/ui/package.json index 2382044..bbaabc7 100644 --- a/ui/package.json +++ b/ui/package.json @@ -33,14 +33,5 @@ "@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" - ] } } diff --git a/ui/pnpm-workspace.yaml b/ui/pnpm-workspace.yaml new file mode 100644 index 0000000..a50e415 --- /dev/null +++ b/ui/pnpm-workspace.yaml @@ -0,0 +1,10 @@ +# pnpm 10+ no longer reads build-script settings from package.json's "pnpm" +# field — they live here. esbuild and @swc/core need their postinstall to place +# native binaries for vite; allow those, and explicitly ignore the harmless +# react-vertical-timeline-component postinstall, so a fresh CI install doesn't +# fail with ERR_PNPM_IGNORED_BUILDS. +onlyBuiltDependencies: + - '@swc/core' + - esbuild +ignoredBuiltDependencies: + - react-vertical-timeline-component