Skip to content

chore: upgrade pnpm to 11#975

Open
richadr wants to merge 2 commits into
mainfrom
chore/pnpm-11
Open

chore: upgrade pnpm to 11#975
richadr wants to merge 2 commits into
mainfrom
chore/pnpm-11

Conversation

@richadr

@richadr richadr commented Jun 9, 2026

Copy link
Copy Markdown
Member

This PR upgrades pnpm to the latest version. pnpm 11 has been out for a while now, and is now the recommended version to use. Set the minimum version to 11.4 since that is the latest version with security fixes. To use pnpm 11, ensure you're on a recent version of Node and run corepack enable in the root of the repository.

# to use the version of pnpm as specified in package.json
corepack enable

pnpm 11 comes with breaking changes and the migration guide was used. It comes with better defaults for strictDepBuilds: you must now explicitly review which build scripts are allowed. As well as blockExoticSubdeps.

The automigration moved all properties from .npmrc to pnpm-workspace.yaml, but we want to keep ignore-scripts as a safety measure and provenance because changeset publish bypasses pnpm.

minimumReleaseAge by default is now 24h, same as our existing setting. I still kept it in pnpm-workspace.yaml, as it doesn't hurt to be explicit about it.

Also cleaned up the workaround in pipelines that allowed an RC version of pnpm to be used when the npm audit endpoint was down. With pnpm 11, this is no longer needed.

@richadr richadr requested a review from a team as a code owner June 9, 2026 06:04
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
example Ready Ready Preview, Comment Jun 15, 2026 3:14pm

Request Review

@richadr richadr enabled auto-merge (rebase) June 15, 2026 15:13
@sonarqubecloud

Copy link
Copy Markdown

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