1 # sharp (Next's image optimizer) ships native binaries and needs its install
2 # script to run. `allowBuilds` is the pnpm 11 spelling; `onlyBuiltDependencies`
3 # is kept for older pnpm, which is what the deploy host may still run.
4 allowBuilds:
5 sharp: true
6
7 onlyBuiltDependencies:
8 - sharp
9
10 # Nextra 4 pulls zod in transitively and breaks on newer releases — without
11 # this pin every docs page 500s at runtime. It lives here rather than in
12 # package.json's `pnpm.overrides` because pnpm 11 no longer reads that field:
13 # it warns and silently ignores it, which un-pins zod and brings the 500s back.
14 overrides:
15 zod: 4.1.12