Repository navigation
fix(editor): add missing runtime dependencies for strict installs - #3960
Open
CloudCorpRecords wants to merge 1 commit into
Open
CloudCorpRecords wants to merge 1 commit into
CloudCorpRecords wants to merge 1 commit into
Conversation
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>
Contributor
|
@CloudCorpRecords is attempting to deploy a commit to the resend Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue or discussion
Fixes #3949
What this changes
Under strict isolated pnpm installs, the editor's root,
/extensions, and/uientry points fail to import. Three packages required as peers by direct Tiptap dependencies were missing fromdependencies: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
Summary by cubic
Fixes #3949 by declaring
happy-dom,@tiptap/extension-list, and@floating-ui/domas direct dependencies of@react-email/editor. Under strict isolated pnpm installs, the editor’s root,/extensions, and/uientry 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-uito a single resolution. No migration steps are needed.Written for commit db69087. Summary will update on new commits.