Skip to content

chore(deps): bump pnpm 9.15.1 → 11.0.9 - #4

Merged
aloks98 merged 1 commit into
masterfrom
chore/pnpm-11
May 10, 2026
Merged

chore(deps): bump pnpm 9.15.1 → 11.0.9#4
aloks98 merged 1 commit into
masterfrom
chore/pnpm-11

Conversation

@aloks98

@aloks98 aloks98 commented May 10, 2026

Copy link
Copy Markdown
Owner

Summary

Two-major version jump on pnpm. Lockfile stays at v9.0 — still the current format on pnpm 11, no migration needed.

What changed

  • `package.json`: `packageManager` bumped to `pnpm@11.0.9` (with integrity hash). Per-package `pnpm.onlyBuiltDependencies` removed — pnpm 10+ moved that config out of `package.json`.
  • `pnpm-workspace.yaml` (new): holds `allowBuilds: { esbuild: true }`. Without this, pnpm 11 errors with `ERR_PNPM_IGNORED_BUILDS` and esbuild's native binary never compiles.
  • `web/.gitignore`: added `.pnpm-store` (pnpm 11 sometimes materializes a project-local store).

The Dockerfile and CI workflows already use corepack + read the `packageManager` field, so they pick up pnpm 11 automatically — no Dockerfile or workflow change needed.

Test plan

  • `docker run --rm -e CI=true node:24-slim sh -c 'corepack enable && pnpm install && pnpm exec svelte-check && pnpm build'` — install runs esbuild postinstall, type check passes (0/0), build emits the static SPA
  • CI Build job stays green (it'll exercise pnpm 11.0.9 via corepack)

🤖 Generated with Claude Code

Two-major version jump.  Verified locally with `docker run --rm -e CI=true
node:24-slim sh -c 'corepack enable && pnpm install && pnpm exec
svelte-check && pnpm build'` — install runs esbuild's postinstall, type
check passes (0/0), build emits the static SPA cleanly. Lockfile stays at
v9.0 (still the current format on pnpm 11).

Config moves required by pnpm 10+:

- pnpm 10 made the per-package config in package.json deprecated in favor
  of `pnpm-workspace.yaml`.  Moves esbuild from `pnpm.onlyBuiltDependencies`
  in package.json to `allowBuilds: { esbuild: true }` in
  `pnpm-workspace.yaml`.  Without this, pnpm 11 fails install scripts with
  ERR_PNPM_IGNORED_BUILDS and esbuild's native binary never compiles.

Plus a hygiene tweak: `.pnpm-store/` to web/.gitignore (pnpm 11 sometimes
materializes a project-local store directory).

The Dockerfile and CI workflows already use corepack and read the
packageManager field, so they pick up the new pnpm version automatically.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aloks98
aloks98 merged commit 5a96b91 into master May 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant