Upgrade from pnpm v10 to v12 (#99827)
Hopefully this should make test setup a little faster and it should make it easier for me to test compatibility with pnpm GVS (#99758). I previously tried to upgrade us to pnpm 11, but couldn't because it requires Node 22+, and we need to test against Node 20. However, pnpm 12 is written in Rust, and does not depend on particular versions of Node. ## Other notable changes - Nx: Some of our tests needed an upgrade. It parses the pnpm lockfile, like Turborepo. - pnpm 12 fails to install from an uncompressed tarball (only supports gziped-tarballs?), so this builds the `tgz` from source (previously we had a binary tarball committed to the repo). ## Testing I manually ran the e2e deployment tests: https://github.com/vercel/next.js/actions/runs/38491349790
Showing
.npmrc
deleted
100644 → 0
| ... | ... | @@ -303,47 +303,5 @@ |
| "engines": { | ||
| "node": ">=20.9.0" | ||
| }, | ||
| "packageManager": "pnpm@10.33.0", | ||
| "pnpm": { | ||
| "overrides": { | ||
| "postcss": "8.5.23", | ||
| "webpack": "5.98.0", | ||
| "browserslist": "4.28.1", | ||
| "caniuse-lite": "1.0.30001746", | ||
| "@types/node": "20.17.7", | ||
| "@babel/core": "7.26.10", | ||
| "@babel/parser": "7.27.0", | ||
| "@babel/types": "7.27.0", | ||
| "@babel/traverse": "7.27.0", | ||
| "@types/react": "19.2.18", | ||
| "@types/react-dom": "19.2.4", | ||
| "@types/retry": "0.12.0", | ||
| "jest-snapshot": "30.0.0-alpha.6", | ||
| "react": "npm:react@19.3.0-canary-07dde64d-20261013", | ||
| "react-dom": "npm:react-dom@19.3.0-canary-07dde64d-20261013", | ||
| "react-is": "npm:react-is@19.3.0-canary-07dde64d-20261013", | ||
| "scheduler": "npm:scheduler@0.28.0-canary-07dde64d-20261013" | ||
| }, | ||
| "packageExtensions": { | ||
| "eslint-plugin-react-hooks@0.0.0-experimental-6de32a5a-20250822": { | ||
| "dependencies": { | ||
| "@babel/plugin-proposal-private-methods": "^7.18.6" | ||
| } | ||
| } | ||
| }, | ||
| "patchedDependencies": { | ||
| "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch", | ||
| "stacktrace-parser@0.1.10": "patches/stacktrace-parser@0.1.10.patch", | ||
| "taskr@1.1.0": "patches/taskr@1.1.0.patch", | ||
| "minizlib@3.1.0": "patches/minizlib@3.1.0.patch", | ||
| "@rspack/core@1.6.7": "patches/@rspack__core@1.6.7.patch", | ||
| "@modelcontextprotocol/sdk": "patches/@modelcontextprotocol__sdk.patch", | ||
| "@vercel/blob": "patches/@vercel__blob.patch", | ||
| "postcss-scss": "patches/postcss-scss.patch", | ||
| "playwright-core@1.61.0": "patches/playwright-core@1.61.0.patch", | ||
| "@types/node@20.17.7": "patches/@types__node@20.17.7.patch", | ||
| "@vercel/agent-eval@2.2.1": "patches/@vercel__agent-eval@2.2.1.patch", | ||
| "@vercel/og@1.0.1": "patches/@vercel__og@1.0.1.patch" | ||
| } | ||
| } | ||
| "packageManager": "pnpm@12.9.1" | ||
| } |
File deleted
File deleted
Please
register
or
sign in
to comment