File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11packages :
22 - " packages/*"
3+
4+ # Pre-approved native build scripts. pnpm >=10 blocks postinstall scripts of
5+ # transitive deps unless they're listed here or approved interactively. The
6+ # installer runs via `curl | bash` (no TTY), so the interactive prompt is
7+ # unreachable — without this, esbuild/sharp/workerd never compile their native
8+ # binaries and the subsequent `pnpm bundle-ui` / `pnpm build` fail.
9+ #
10+ # Two formats coexist intentionally: pnpm 9–10 reads `onlyBuiltDependencies`
11+ # (list); pnpm 11+ reads `allowBuilds` (map). Either pnpm version honors its
12+ # field and ignores the other.
13+ onlyBuiltDependencies :
14+ - esbuild
15+ - koffi
16+ - protobufjs
17+ - sharp
18+ - workerd
19+ allowBuilds :
20+ esbuild : true
21+ koffi : true
22+ protobufjs : true
23+ sharp : true
24+ workerd : true
You can’t perform that action at this time.
0 commit comments