Skip to content

Build the examples on Node.js 24 - #113

Merged
roger-datocms merged 1 commit into
masterfrom
node-24-upgrade
Oct 7, 2026
Merged

roger-datocms merged 1 commit into
masterfrom
node-24-upgrade

Conversation

@roger-datocms

@roger-datocms roger-datocms commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

(Claude here [Opus 5.5])

What

Pin the examples app to Node.js 24: "engines": { "node": "24.x" } in examples/package.json. The library itself is untouched (its .nvmrc already says 24), so no changeset is needed.

Why

Vercel stopped building on Node.js 20 and older on October 1, 2026 (changelog). The vue-datocms-example Vercel project builds from examples/ and is set to 22.x, which reaches end of life in April 2027. engines overrides that setting, so the example builds on 24 without a dashboard change.

Testing

  • Preview: the build log confirms Vercel used Node.js 24.x.
  • Local: npm run setup and npm run build in examples/ pass on Node 24.12, and the build produces the same bundle hash as production.
  • Playwright smoke test (preview): / returns 200. It logs the same responsiveImage console error as production, so that error predates this change.

Production (before) vs preview (Node 24)

compare-preview

After merging

Optionally set the Vercel project's Node.js version to 24.x to silence the override warning. engines already takes precedence.

🤖 Generated with Claude Code

Vercel stopped building Node.js 20 and older on October 1, 2026. Pin the
examples app (the Vercel project's root directory) to 24.x via "engines",\nwhich overrides the Vercel project setting. The library itself is untouched.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
vue-datocms-example Ready Ready Preview Oct 7, 2026 3:27pm UTC

Request Review

@roger-datocms
roger-datocms merged commit 8bf4635 into master Oct 7, 2026
7 checks passed
@roger-datocms
roger-datocms deleted the node-24-upgrade branch October 7, 2026 17:23

This branch was successfully deployed

1 active deployment
Preview — 77f471f2 Deployed Oct 7, 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.

1 participant