Skip to content

chore: update react types#2952

Merged
gabrielmfern merged 3 commits intocanaryfrom
chore/update-react-types
Feb 11, 2026
Merged

chore: update react types#2952
gabrielmfern merged 3 commits intocanaryfrom
chore/update-react-types

Conversation

@gabrielmfern
Copy link
Member

@gabrielmfern gabrielmfern commented Feb 9, 2026

also removes the types from packages that don't require it and can use the workspace's instead


Summary by cubic

Standardized React type definitions across the workspace. Set @types/react to 19.2.13 and @types/react-dom to 19.2.3 at the root, and removed duplicate package-level deps.

  • Dependencies
    • Root overrides: @types/react 19.2.13, @types/react-dom 19.2.3.
    • Removed @types/react and @types/react-dom from apps/demo, apps/web, packages/render, and playground; updated packages/preview-server to 19.2.13/19.2.3.
    • Pinned @types/react and @types/react-dom in packages/tailwind/integrations/nextjs.
    • Updated pnpm-lock.yaml.

Written for commit 95bfbd7. Summary will update on new commits.

@vercel
Copy link

vercel bot commented Feb 9, 2026

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

Project Deployment Actions Updated (UTC)
react-email Ready Ready Preview, Comment Feb 11, 2026 7:56pm
react-email-demo Ready Ready Preview, Comment Feb 11, 2026 7:56pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2026

⚠️ No Changeset found

Latest commit: 95bfbd7

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

@socket-security
Copy link

socket-security bot commented Feb 9, 2026

@socket-security
Copy link

socket-security bot commented Feb 9, 2026

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.

Ignoring alerts on:

  • safer-buffer@2.1.2
  • sharp@0.34.5
  • esbuild@0.27.2

View full report

Copy link
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 7 files

Confidence score: 5/5

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

@gabrielmfern gabrielmfern requested review from a team and lucasfcosta and removed request for a team February 9, 2026 13:20
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 9, 2026

Open in StackBlitz

npm i https://pkg.pr.new/resend/react-email/@react-email/preview-server@2952
npm i https://pkg.pr.new/resend/react-email/@react-email/render@2952
npm i https://pkg.pr.new/resend/react-email/@react-email/tailwind@2952

commit: 95bfbd7

@Shubhdeep12
Copy link
Contributor

hey @gabrielmfern how about defining catalog in pnpm workspace ? I guess that would help in managing same package versions across all packages.

also removes the types from packages that don't require it and can use
the workspace's instead
@gabrielmfern gabrielmfern force-pushed the chore/update-react-types branch from cc0bd84 to 95bfbd7 Compare February 11, 2026 19:53
@gabrielmfern
Copy link
Member Author

gabrielmfern commented Feb 11, 2026

@Shubhdeep12 yeah I've been meaning to use it, haven't got the chance to get it properly working though #2886

@gabrielmfern
Copy link
Member Author

@SocketSecurity ignore npm/safer-buffer@2.1.2
@SocketSecurity ignore npm/esbuild@0.27.2
@SocketSecurity ignore npm/sharp@0.34.5

@gabrielmfern gabrielmfern merged commit 9015f76 into canary Feb 11, 2026
15 of 16 checks passed
@gabrielmfern gabrielmfern deleted the chore/update-react-types branch February 11, 2026 20:01
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.

3 participants