Skip to content

feat: migrate to pnpm v11.0.0-rc.0#1192

Open
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
feat/pnpm-v11-rc
Open

feat: migrate to pnpm v11.0.0-rc.0#1192
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
feat/pnpm-v11-rc

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton John-David Dalton (jdalton) commented Apr 11, 2026

Summary

  • Migrate .npmrc pnpm settings → pnpm-workspace.yaml (ignoreScripts, linkWorkspacePackages, loglevel)
  • Migrate package.json pnpm.overrides (49 entries) → pnpm-workspace.yaml overrides:
  • Migrate package.json pnpm.patchedDependencies (7 patches) → pnpm-workspace.yaml
  • Remove unused patches: @npmcli/run-script@10.0.3, node-gyp@12.1.0 (older versions no longer resolved)
  • Add allowBuilds for esbuild, postject
  • Update packageManager to pnpm@11.0.0-rc.0
  • Regenerate lockfile (v9.0 format)

Breaking changes handled

  • .npmrcpnpm-workspace.yaml config split (pnpm v11 only reads auth/registry from .npmrc)
  • pnpm field in package.json no longer read by v11
  • strictDepBuilds default requires explicit allowBuilds
  • Lockfile v9.0 format (incompatible with v10)

Dependencies

Test plan

  • pnpm install succeeds
  • pnpm run build:cli succeeds
  • Tests pass (pre-commit hook verified)
  • CI workflows pass

Note

Medium Risk
Upgrades core package manager and relocates dependency override/patch configuration, which can change resolution and install/build behavior across the monorepo. Risk is mainly CI/dev-environment breakage rather than runtime code changes.

Overview
Migrates the repo to pnpm v11.0.0-rc.0, updating package.json packageManager and engine requirements.

Moves pnpm-specific configuration out of .npmrc and package.json into pnpm-workspace.yaml, including install policies, overrides, patchedDependencies, and explicit allowBuilds entries required by pnpm v11’s stricter build-script defaults.

Reviewed by Cursor Bugbot for commit 0c4f355. Configure here.

- Migrate .npmrc pnpm settings → pnpm-workspace.yaml (ignoreScripts, linkWorkspacePackages, loglevel)
- Migrate package.json pnpm.overrides (49 entries) → pnpm-workspace.yaml overrides
- Migrate package.json pnpm.patchedDependencies → pnpm-workspace.yaml
- Remove unused patches: @npmcli/run-script@10.0.3, node-gyp@12.1.0
- Add allowBuilds for esbuild, postject
- Update packageManager to pnpm@11.0.0-rc.0
- Regenerate lockfile (v9.0 format)
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