···11packages:
22 - "."
3344-# Allow native deps to run their install/build scripts. Without this,
55-# pnpm 10 reports "Ignored build scripts", which is only a warning locally
66-# but becomes a hard ERR_PNPM_IGNORED_BUILDS failure in CI (e.g. inside
77-# withastro/action). That is what breaks the Deploy Docs workflow.
88-# es5-ext's script is only a funding notice, so it stays ignored.
99-onlyBuiltDependencies:
1010- - esbuild
1111- - sharp
1212-ignoredBuiltDependencies:
1313- - es5-ext
44+# pnpm 11 gates dependency build scripts behind an explicit allow-list.
55+# Without this, native deps' build scripts are skipped and pnpm exits with
66+# ERR_PNPM_IGNORED_BUILDS in CI (e.g. inside withastro/action), which breaks
77+# the Deploy Docs workflow. es5-ext's script is only a funding notice.
88+allowBuilds:
99+ esbuild: true
1010+ sharp: true
1111+ es5-ext: false