Pin pnpm to 9.10.0 for docs-site builds #8

Merged
fragmented merged 1 commit from initial-development into mainline 2026-05-28 08:16:34 +00:00
Owner

Corepack defaulted the docs-site stage to pnpm 11.4.0, which exits
non-zero on pnpm install when packages with postinstall scripts
(sharp, esbuild) aren't on an explicit approve list. The
fragmented-infra public-sites Docker build failed during the
guitar-prometheus-docs-builder stage with ERR_PNPM_IGNORED_BUILDS.

The personal-blog and link-tree builders dodge this because their
package.json pins packageManager: pnpm@9.10.0 — 9.x predates the
approve-builds requirement. Match their pattern here so the three
public-sites builds use the same toolchain version.

Also adds pnpm.onlyBuiltDependencies: [esbuild, sharp] as belt-and-
suspenders: when the pnpm pin eventually moves to 10+/11+, the
whitelist is already in place to keep CI green.

Corepack defaulted the docs-site stage to pnpm 11.4.0, which exits non-zero on `pnpm install` when packages with postinstall scripts (sharp, esbuild) aren't on an explicit approve list. The fragmented-infra public-sites Docker build failed during the guitar-prometheus-docs-builder stage with ERR_PNPM_IGNORED_BUILDS. The personal-blog and link-tree builders dodge this because their package.json pins `packageManager: pnpm@9.10.0` — 9.x predates the approve-builds requirement. Match their pattern here so the three public-sites builds use the same toolchain version. Also adds `pnpm.onlyBuiltDependencies: [esbuild, sharp]` as belt-and- suspenders: when the pnpm pin eventually moves to 10+/11+, the whitelist is already in place to keep CI green.
Pin pnpm to 9.10.0 for docs-site builds
All checks were successful
Notify Infra — Rebuild Public Sites / dispatch (push) Successful in 1s
09173c9985
Corepack defaulted the docs-site stage to pnpm 11.4.0, which exits
non-zero on `pnpm install` when packages with postinstall scripts
(sharp, esbuild) aren't on an explicit approve list. The
fragmented-infra public-sites Docker build failed during the
guitar-prometheus-docs-builder stage with ERR_PNPM_IGNORED_BUILDS.

The personal-blog and link-tree builders dodge this because their
package.json pins `packageManager: pnpm@9.10.0` — 9.x predates the
approve-builds requirement. Match their pattern here so the three
public-sites builds use the same toolchain version.

Also adds `pnpm.onlyBuiltDependencies: [esbuild, sharp]` as belt-and-
suspenders: when the pnpm pin eventually moves to 10+/11+, the
whitelist is already in place to keep CI green.
fragmented merged commit 09173c9985 into mainline 2026-05-28 08:16:34 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tools/guitar-prometheus!8
No description provided.