-
-
Notifications
You must be signed in to change notification settings - Fork 65
Update to Node.js v24 + pnpm v10.20 #1604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
So, looks like setting |
|
Node v24.x should be supported on vercel now: https://vercel.com/changelog/node-js-24-lts-is-now-generally-available-for-builds-and-functions |
c917e15 to
12833cf
Compare
There was a problem hiding this 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 updates the project to use Node.js v24 (now the active LTS) and pnpm v10.20, ensuring the project stays current with modern tooling. The update affects version specifications across multiple configuration files and dependencies.
Key Changes:
- Updated Node.js from v22 to v24 across all configuration files (.nvmrc, package.json, Dockerfile)
- Updated pnpm from v10.11.1 to v10.20.0 with exact version pinning
- Updated @types/node dependency from v22.19.1 to v24.10.1 across all packages
- Added engine-strict enforcement to .npmrc to ensure correct versions are used
- Updated Next.js peer dependency constraint from ^15.0 to ^16.0
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated root engines to require Node.js >=24.11.0 and pnpm ^10.20.0, and set packageManager to exact [email protected] |
| .nvmrc | Updated Node.js version from v22 to v24 for version managers |
| .npmrc | Added engine-strict=true to enforce version requirements |
| apps/website/package.json | Added engines field with Node.js 24.x constraint and updated @types/node to v24.10.1 |
| apps/chatbot/package.json | Updated @types/node to v24.10.1 |
| apps/chatbot/Dockerfile | Updated base image from node:22-alpine to node:24-alpine |
| apps/database/package.json | Updated @types/node to v24.10.1 |
| apps/donations/worker/package.json | Updated @types/node to v24.10.1 |
| pnpm-workspace.yaml | Updated Next.js peer dependency allowedVersion from ^15.0 to ^16.0 |
| pnpm-lock.yaml | Lockfile regenerated with new Node.js v24 types and updated dependency resolution graph |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
44799f3 to
5a94a99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Use global (web) crypto instead of importing, narrow types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 13 out of 14 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Describe your changes
Node.js v24 is now the active LTS line with the v24.11.0 release.
Also, this bumps us to the latest pnpm version while we're here.
Notes for testing your change
Ensure Vercel is actually running 24.11.0 or newer.