Skip to content

Migrate pnpm version management to Corepack and upgrade to pnpm 11#26

Merged
msaps merged 1 commit into
mainfrom
worktree-pnpm-corepack
May 15, 2026
Merged

Migrate pnpm version management to Corepack and upgrade to pnpm 11#26
msaps merged 1 commit into
mainfrom
worktree-pnpm-corepack

Conversation

@msaps
Copy link
Copy Markdown
Member

@msaps msaps commented May 15, 2026

Summary

Replaces Volta's pnpm pinning with Corepack, which is the correct mechanism for per-project pnpm version management. Also upgrades pnpm from 10.x to 11. Mirrors the approach taken in Loungebird/Backend#175 and Loungebird/Backend#176.

Changes

  • package.json: Updated packageManager field to pnpm@11.1.2 with sha512 integrity hash (required for Corepack verification)
  • package.json: Removed volta.pnpm — Volta now manages Node only; Corepack manages pnpm
  • pnpm-workspace.yaml: Added with allowBuilds: esbuild: true — pnpm 11 blocks build scripts by default; esbuild requires its postinstall script to run
  • pnpm-lock.yaml: Updated for pnpm 11

The GitHub Actions workflow already uses pnpm/action-setup@v6 without a pinned version:, so it will automatically read from the packageManager field — no workflow changes needed.

Testing

  • pnpm install completes without errors
  • pnpm run build produces a clean production build

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
loungebird Ready Ready Preview, Comment May 15, 2026 8:27am

@msaps msaps enabled auto-merge (squash) May 15, 2026 08:27
@msaps msaps merged commit f0ed631 into main May 15, 2026
3 checks passed
@msaps msaps deleted the worktree-pnpm-corepack branch May 15, 2026 08:27
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