Skip to content

chore(pnpm): migrate to 11.15.1 and pin version in package.json#2295

Open
WalkQuackBack wants to merge 1 commit into
mainfrom
chore(pnpm)/lock-version
Open

chore(pnpm): migrate to 11.15.1 and pin version in package.json#2295
WalkQuackBack wants to merge 1 commit into
mainfrom
chore(pnpm)/lock-version

Conversation

@WalkQuackBack

Copy link
Copy Markdown
Member

Migrates pnpm to 11.15.1 and pins the version in package.json.

The version mismatch between CI and local enviornments has been creating issues with working with the documentation project, as in pnpm 11.x onlyBuiltDependencies and related parameters were dropped and replaced with allowBuilds.

In local enviornments, often times the latest version of pnpm would be installed on the local enviornment, which mismatched with the CI, which was locked to a 10.x version. By defining an engines and packageManager field, it avoids mismatch and enforces using a recent enough version of pnpm for the new configuration options.

Migrates pnpm to 11.15.1 and pins the version in package.json.

The version mismatch between CI and local enviornments has been creating issues with working with the documentation project, as in [pnpm 11.x](https://pnpm.io/blog/releases/11.0) onlyBuiltDependencies and related parameters were dropped and replaced with allowBuilds.

In local enviornments, often times the latest version of pnpm would be installed on the local enviornment, which mismatched with the CI, which was locked to a 10.x version. By defining an engines and packageManager field, it avoids mismatch and enforces using a recent enough version of pnpm for the new configuration options.
@WalkQuackBack
WalkQuackBack requested a review from uncenter as a code owner July 21, 2026 03:39
Comment thread docs/package.json
Comment on lines +6 to +9
"packageManager": "pnpm@11.15.1",
"engines": {
"pnpm": ">=11.8.0"
},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these two are supposed to be replaced with devEngines.pm.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants