Skip to content

fix(react-email): upgrade chokidar to v5 - #3755

Merged
felipefreitag merged 1 commit into
canaryfrom
fix-chokidar-provenance
Sep 23, 2026
Merged

felipefreitag merged 1 commit into
canaryfrom
fix-chokidar-provenance

Conversation

@felipefreitag

@felipefreitag felipefreitag commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Installs of react-email no longer fail under pnpm's trustPolicy: no-downgrade. chokidar 4.0.3 shipped without npm provenance, so pnpm refused it as a possible package takeover. The hot reload watcher keeps the same behavior on chokidar 5.

Decision. The Node floor moves to 20.19, which chokidar 5 needs. Node 20 reached end of life on 2026-04-30, so the changeset is minor rather than major.

Closes #3728. Supersedes #3730.


Summary by cubic

Fixes react-email installs failing under pnpm's trustPolicy: no-downgrade by upgrading chokidar to v5, which ships with npm provenance. Hot reload behavior is unchanged.

Migration

  • The CLI now requires Node 20.19 or newer, up from 20.0.0.

Written for commit 88c106b. Summary will update on new commits.

Review in cubic

chokidar 4.0.3 was published without npm provenance, so pnpm with
trustPolicy set to no-downgrade refuses to install react-email.
chokidar 5.0.0 and its only dependency readdirp 5 both carry
provenance. The API used by the hot-reload watcher is unchanged.

chokidar 5 requires Node 20.19, so the engines field moves from
20.0.0 to 20.19.0. Node 20 reached end of life on 2026-04-30.

Closes #3728
@changeset-bot

changeset-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 88c106b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
react-email Minor
@react-email/editor Patch
@react-email/ui Minor

Not sure what this means? Click here to learn what changesets are.

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

@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
react-email Ready Ready Preview Sep 23, 2026 3:11pm UTC
react-email-demo Ready Ready Preview Sep 23, 2026 3:11pm UTC

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 88c106b

@klotty klotty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Upgrades chokidar from v4 to v5 to fix failed installs under pnpm's no-downgrade trust policy; behavior is unchanged and the changeset correctly raises the Node floor to 20.19 per chokidar 5's engine requirement.

Re-trigger cubic

@felipefreitag
felipefreitag merged commit e9939f0 into canary Sep 23, 2026
15 of 16 checks passed
@felipefreitag
felipefreitag deleted the fix-chokidar-provenance branch September 23, 2026 16:51

This branch was successfully deployed

2 active deployments
Preview – react-email-demo — 88c106b5 Deployed Sep 23, 2026 by vercel[bot]
Preview – react-email — 88c106b5 Deployed Sep 23, 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.

Please upgrade chokidar to v5

2 participants