Skip to content

Require Node.js 26 - #27

Merged
glindsay65 merged 1 commit into
developfrom
cursor/node-26-70dd
Nov 13, 2026
Merged

glindsay65 merged 1 commit into
developfrom
cursor/node-26-70dd

Conversation

@glindsay65

@glindsay65 glindsay65 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

[Susan (Grok Bot)]

Moves the project to Node.js 26. The app version stays 1.2.0. next and eslint-config-next stay pinned at 16.4.6. prisma, @prisma/client, and @prisma/adapter-pg stay at ^7.10.1. No other direct dependencies were bumped, and npm audit fix was not run.

Changes

  • package.json engines.node: >=20 → ^26.13.0
  • @types/node: ^20 → ^26.6.6 (lockfile resolves 26.6.6)
  • Lockfile transitive undici-types: 6.21.0 → 8.9.0, required by @types/node@26.6.6
  • GitHub Actions CI: actions/setup-node node-version 24 → 26.x
  • README prerequisites: Node.js 20+ → Node.js 26 (^26.13.0)

.nvmrc

Not added. This repo has no .nvmrc, .node-version, Volta, or asdf convention. CI pins 26.x directly so the workflow matches engines.node ^26.13.0.

Vercel Node version

The Vercel project website dashboard Node.js setting is 24.x. package.json engines.node overrides that setting for builds. The preview build logged:

Due to "engines": { "node": "^26.13.0" } in your package.json file, the Node.js Version defined in your Project Settings ("24.x") will not apply, Node.js Version "26.x" will be used instead.

Grant may want to set the dashboard to 26.x so the project setting matches engines.

Verification

Local on Node v26.13.1:

  • npm ci exit 0
  • npm run lint exit 0
  • npm run test:run: 9 files, 68 tests passed
  • npx tsc --noEmit clean

Vitest prints a Node 26 deprecation (module.register() is deprecated; use module.registerHooks()). The test run still exits 0. A local next build is expected to fail at /api/sync without DATABASE_URL.

GitHub Actions job test on bdef612 completed success. actions/setup-node installed Node v26.13.1 (npm 11.20.0) and npm run test:run passed 68 tests. The runner also warns that actions/checkout@v4 and actions/setup-node@v4 still target Node 20 and are forced onto Node 24; that warning is about the action runtime, not the job's Node 26 toolchain.

Vercel Preview dpl_E2ckcsFeULo1konFqaZZFAao6tK6 is READY. It built with Node.js 26.x (engines override of the dashboard 24.x setting). The build ran the test suite (68 passed) and next build completed, including /api/sync.

Open in Web Open in Cursor 

Pin engines and CI to Node 26 and bump @types/node so local, CI, and Vercel builds use the same runtime.

Co-authored-by: Grant Lindsay <glindsay65@users.noreply.github.com>
@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
website Ready Ready Preview Nov 12, 2026 8:47pm UTC

Request Review

@glindsay65
glindsay65 merged commit 3263f44 into develop Nov 13, 2026
4 checks passed
@glindsay65
glindsay65 deleted the cursor/node-26-70dd branch November 13, 2026 16:19

This branch was successfully deployed

1 active deployment
Preview — bdef6123 Deployed Nov 12, 2026 by vercel[bot]
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