Skip to content

fix: use devEngines for node >=22 instead of engines#2694

Merged
gabrielmfern merged 2 commits intocanaryfrom
fix/use-dev-engine
Nov 18, 2025
Merged

fix: use devEngines for node >=22 instead of engines#2694
gabrielmfern merged 2 commits intocanaryfrom
fix/use-dev-engine

Conversation

@gabrielmfern
Copy link
Copy Markdown
Member

@gabrielmfern gabrielmfern commented Nov 18, 2025

We set engines to >=22.0.0 before with the intent of only requireing it for dev, and not to stop supporting Node 20 per se. But the engines field actually enforces it for end users, and npm install warns:

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@react-email/components@1.0.1',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.17.0', npm: '10.9.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'react-email@5.0.4',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.17.0', npm: '10.9.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@react-email/code-block@0.2.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.17.0', npm: '10.9.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@react-email/markdown@0.0.17',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.17.0', npm: '10.9.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@react-email/render@2.0.0',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.17.0', npm: '10.9.2' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@react-email/tailwind@2.0.1',
npm warn EBADENGINE   required: { node: '>=22.0.0' },
npm warn EBADENGINE   current: { node: 'v20.17.0', npm: '10.9.2' }
npm warn EBADENGINE }

@gabrielmfern gabrielmfern self-assigned this Nov 18, 2025
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Nov 18, 2025

⚠️ No Changeset found

Latest commit: 82e5c30

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Nov 18, 2025

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

Project Deployment Preview Comments Updated (UTC)
react-email Ready Ready Preview Comment Nov 18, 2025 3:36pm
react-email-demo Ready Ready Preview Comment Nov 18, 2025 3:36pm

@socket-security
Copy link
Copy Markdown

socket-security bot commented Nov 18, 2025

@socket-security
Copy link
Copy Markdown

socket-security bot commented Nov 18, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@gabrielmfern gabrielmfern changed the title fix: use devEngines for node >=22 instead of engines fix: use devEngines for node >=22 instead of engines Nov 18, 2025
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 24 files

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Nov 18, 2025

Open in StackBlitz

@react-email/button

npm i https://pkg.pr.new/resend/react-email/@react-email/button@2694

@react-email/code-block

npm i https://pkg.pr.new/resend/react-email/@react-email/code-block@2694

@react-email/code-inline

npm i https://pkg.pr.new/resend/react-email/@react-email/code-inline@2694

@react-email/column

npm i https://pkg.pr.new/resend/react-email/@react-email/column@2694

@react-email/components

npm i https://pkg.pr.new/resend/react-email/@react-email/components@2694

@react-email/container

npm i https://pkg.pr.new/resend/react-email/@react-email/container@2694

create-email

npm i https://pkg.pr.new/resend/react-email/create-email@2694

@react-email/head

npm i https://pkg.pr.new/resend/react-email/@react-email/head@2694

@react-email/heading

npm i https://pkg.pr.new/resend/react-email/@react-email/heading@2694

@react-email/hr

npm i https://pkg.pr.new/resend/react-email/@react-email/hr@2694

@react-email/html

npm i https://pkg.pr.new/resend/react-email/@react-email/html@2694

@react-email/img

npm i https://pkg.pr.new/resend/react-email/@react-email/img@2694

@react-email/link

npm i https://pkg.pr.new/resend/react-email/@react-email/link@2694

@react-email/markdown

npm i https://pkg.pr.new/resend/react-email/@react-email/markdown@2694

@react-email/preview

npm i https://pkg.pr.new/resend/react-email/@react-email/preview@2694

react-email

npm i https://pkg.pr.new/resend/react-email@2694

@react-email/render

npm i https://pkg.pr.new/resend/react-email/@react-email/render@2694

@react-email/row

npm i https://pkg.pr.new/resend/react-email/@react-email/row@2694

@react-email/section

npm i https://pkg.pr.new/resend/react-email/@react-email/section@2694

@react-email/tailwind

npm i https://pkg.pr.new/resend/react-email/@react-email/tailwind@2694

@react-email/text

npm i https://pkg.pr.new/resend/react-email/@react-email/text@2694

commit: 82e5c30

@gabrielmfern gabrielmfern merged commit ca5f650 into canary Nov 18, 2025
14 of 16 checks passed
@gabrielmfern gabrielmfern deleted the fix/use-dev-engine branch November 18, 2025 16:43
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