chore: upgrade pnpm to v11#997
Conversation
Bumps `packageManager` to pnpm@11.1.3 in the root and docs workspace and migrates the pnpm-workspace.yaml config that v11 requires: - `onlyBuiltDependencies` (array) → `allowBuilds` (map) - Moves `resolutions` from `package.json` to `overrides` in `pnpm-workspace.yaml`, since v11 no longer reads settings from `package.json` Lockfile is unchanged.
Deploying nuxt-devtools with
|
| Latest commit: |
1406e3d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://30d500c0.nuxt-devtools.pages.dev |
| Branch Preview URL: | https://antfu-upgrade-pnpm-v11.nuxt-devtools.pages.dev |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis PR upgrades pnpm to version 11.1.3 and restructures dependency and build configuration across the monorepo. The Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The docs workspace runs its own `pnpm install` via the root postinstall, so it needs its own v11 config migration. Without it pnpm v11 aborts with ERR_PNPM_IGNORED_BUILDS for better-sqlite3, esbuild, sharp, and vue-demi.
Summary
packageManagertopnpm@11.1.3in the root anddocs/workspace.pnpm-workspace.yamlto v11's new shape:onlyBuiltDependencies(array) →allowBuilds(map), and movesresolutionsout ofpackage.jsoninto anoverrides:section (v11 no longer reads settings frompackage.json).pnpm-lock.yamlis unchanged — no dependency churn.Test plan
pnpm install(fresh)pnpm lintpnpm buildpnpm typecheck