Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

fix(editor): add missing runtime dependencies for strict installs - #3960

Open
CloudCorpRecords wants to merge 1 commit into
resend:canaryfrom
CloudCorpRecords:fix/editor-missing-runtime-deps-3949
Open

CloudCorpRecords wants to merge 1 commit into
resend:canaryfrom
CloudCorpRecords:fix/editor-missing-runtime-deps-3949

Conversation

@CloudCorpRecords

@CloudCorpRecords CloudCorpRecords commented Dec 3, 2026 •

Copy link
Copy Markdown

Related issue or discussion

Fixes #3949

What this changes

Under strict isolated pnpm installs, the editor's root, /extensions, and /ui entry points fail to import. Three packages required as peers by direct Tiptap dependencies were missing from dependencies: happy-dom (for @tiptap/html), @tiptap/extension-list, and @floating-ui/dom (for @tiptap/suggestion). This adds all three.

Checked with the reproduction from #3949: the three entry points fail before this change and import cleanly after it. Tested on Linux, Node 24.

Checklist

  • I understand the code in this PR and the problem it solves.
  • I read this description, and it accurately describes the change.
  • I added a changeset, or this change doesn't affect a published package.

Summary by cubic

Fixes #3949 by declaring happy-dom, @tiptap/extension-list, and @floating-ui/dom as direct dependencies of @react-email/editor. Under strict isolated pnpm installs, the editor’s root, /extensions, and /ui entry points failed to import because these packages were only available transitively via Tiptap peers; they now import cleanly after install.

The lockfile is updated to dedupe @floating-ui to a single resolution. No migration steps are needed.

Written for commit db69087. Summary will update on new commits.

View guided diff

The editor's root, /extensions, and /ui entry points fail under strict
isolated pnpm installs because three packages required as peers by
direct Tiptap dependencies were not declared: happy-dom,
@tiptap/extension-list, and @floating-ui/dom.

Signed-off-by: Rene Turcios <95189389+CloudCorpRecords@users.noreply.github.com>
@vercel

vercel Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

@CloudCorpRecords is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Dec 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@react-email/editor: root, /extensions, and /ui fail to import under strict isolated installs due to missing runtime peer dependencies

1 participant