feat: migrate to pnpm v11.0.0-rc.0#1192
Open
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
Open
feat: migrate to pnpm v11.0.0-rc.0#1192John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
Conversation
- 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.npmrcpnpm settings →pnpm-workspace.yaml(ignoreScripts, linkWorkspacePackages, loglevel)package.jsonpnpm.overrides(49 entries) →pnpm-workspace.yamloverrides:package.jsonpnpm.patchedDependencies(7 patches) →pnpm-workspace.yaml@npmcli/run-script@10.0.3,node-gyp@12.1.0(older versions no longer resolved)allowBuildsfor esbuild, postjectpackageManagertopnpm@11.0.0-rc.0Breaking changes handled
.npmrc→pnpm-workspace.yamlconfig split (pnpm v11 only reads auth/registry from .npmrc)pnpmfield inpackage.jsonno longer read by v11strictDepBuildsdefault requires explicitallowBuildsDependencies
Test plan
pnpm installsucceedspnpm run build:clisucceedsNote
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.jsonpackageManagerand engine requirements.Moves pnpm-specific configuration out of
.npmrcandpackage.jsonintopnpm-workspace.yaml, including install policies,overrides,patchedDependencies, and explicitallowBuildsentries required by pnpm v11’s stricter build-script defaults.Reviewed by Cursor Bugbot for commit 0c4f355. Configure here.