Skip to content

fix: scope shared-dep resolver to the frontend dir so the linked frappe-ui checkout can't pull its own @tiptap - #253

Merged
ruchamahabal merged 1 commit into
frappe:developfrom
ruchamahabal:fix-texteditor
Aug 19, 2026
Merged

fix: scope shared-dep resolver to the frontend dir so the linked frappe-ui checkout can't pull its own @tiptap#253
ruchamahabal merged 1 commit into
frappe:developfrom
ruchamahabal:fix-texteditor

Conversation

@ruchamahabal

@ruchamahabal ruchamahabal commented Aug 19, 2026

Copy link
Copy Markdown
Member

With the resolver root at apps/studio, the local frappe-ui checkout counted as 'inside Studio', so its @tiptap imports resolved from frappe-ui/node_modules while studio's own resolved from frontend/node_modules. The dep optimizer then bundled two prosemirror graphs (view 1.41.8 + 1.42.2), and every TextEditor mixed an EditorView from one copy with extension decorations from the other — crashing intermittently on mount.

…pe-ui checkout can't pull its own @tiptap

- With the resolver root at apps/studio, the local frappe-ui checkout counted as 'inside Studio', so its @tiptap imports resolved from frappe-ui/node_modules while studio's own resolved from frontend/node_modules. The dep optimizer then bundled two prosemirror graphs (view 1.41.8 + 1.42.2), and every TextEditor mixed an EditorView from one copy with extension decorations from the other —
crashing intermittently on mount.
@greptile-apps

greptile-apps Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

This PR appears safe to merge.

The narrower root correctly intercepts linked sources outside frontend/ without removing interception from existing external importers.

Reviews (1): Last reviewed commit: "fix: scope shared-dep resolver to the fr..." | Re-trigger Greptile

@ruchamahabal
ruchamahabal merged commit 5be118e into frappe:develop Aug 19, 2026
1 of 2 checks passed
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.

1 participant