Skip to content

chore: upgrade pnpm to v11#18

Merged
antfu merged 1 commit into
mainfrom
antfu/dubai
May 15, 2026
Merged

chore: upgrade pnpm to v11#18
antfu merged 1 commit into
mainfrom
antfu/dubai

Conversation

@antfu
Copy link
Copy Markdown
Contributor

@antfu antfu commented May 15, 2026

Summary

  • Bump packageManager to pnpm@11.1.2 (from 10.33.4) and refresh the pnpm@11.x note in AGENTS.md.
  • Pin @parcel/watcher to false under allowBuilds; pnpm 11 auto-detects it as a build-script candidate, and false preserves the prior pnpm 10 behaviour where the install script was implicitly ignored.
  • No lockfile churn — existing lockfileVersion: '9.0' is already compatible, and the repo had nothing using .npmrc, the pnpm field in package.json, or patchedDependencies, so no v11 migrations were needed.

Test plan

  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • pnpm test (319/319 passing)

Bumps `packageManager` to `pnpm@11.1.2`. pnpm 11 surfaced `@parcel/watcher`
as a build-script candidate; pin it to `false` to preserve the prior pnpm
10 behaviour where the install script was implicitly ignored.
Copilot AI review requested due to automatic review settings May 15, 2026 02:03
@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit 198976d
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a067ee7cf8313000819113e
😎 Deploy Preview https://deploy-preview-18--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the repo’s pnpm toolchain to pnpm v11, updates contributor guidance accordingly, and adjusts workspace build-script allowances to preserve prior install behavior under pnpm 11.

Changes:

  • Bump packageManager from pnpm@10.33.4 to pnpm@11.1.2.
  • Update the development guide to reference pnpm 11.
  • Pin @parcel/watcher to false under allowBuilds in pnpm-workspace.yaml.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pnpm-workspace.yaml Updates allowBuilds to explicitly disable @parcel/watcher build scripts under pnpm 11 behavior.
package.json Sets packageManager to pnpm@11.1.2 for Corepack/tooling alignment.
AGENTS.md Refreshes the stated required pnpm major version for contributors.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
pnpm install # requires pnpm@10.x
pnpm install # requires pnpm@11.x
pnpm build # tsdown
pnpm dev # tsdown --watch
@antfu antfu merged commit 17c1c74 into main May 15, 2026
16 checks passed
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