chore(deps): update tiptap to ^3.27.1 - #247
Merged
Merged
Conversation
Port of upstream nuxt/ui ad93121 (#6654). Bump all @tiptap/* from ^3.26.1 to ^3.27.1 across manifests, and annotate the Suggestion plugin as `Plugin` in useEditorMenu.ts (SuggestionPluginState isn't exported by @tiptap/suggestion). b24ui deviation: @tiptap/y-tiptap (via extension-collaboration) still pins @tiptap/pm@3.26.1, pulling a second prosemirror-view and breaking EditorCompletionExtension's decorations type (TS2322). Added a targeted `@tiptap/pm: ^3.27.1` override to pnpm-workspace.yaml so @tiptap/pm dedupes to a single version. Lockfile regenerated; no snapshot changes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JS8ypVfQSFzYVZzkTHhURb
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.
Upstream
ad93121—chore(deps): update tiptap to ^3.27.1 (#6654)Change
@tiptap/*deps^3.26.1→^3.27.1(root, docs, demo, nuxt, vue).useEditorMenu.ts:import type { Plugin } from '@tiptap/pm/state'+const plugin: Plugin = Suggestion({…})(verbatim;SuggestionPluginStateisn't exported by@tiptap/suggestion).Deviation —
@tiptap/pmoverride (b24ui-specific)b24ui's tree pulls
@tiptap/y-tiptap@3.0.3(viaextension-collaboration), which pins@tiptap/pm@^3.26.x→ a second@tiptap/pm@3.26.1+prosemirror-view@1.41.8alongside the bumped 3.27.3. Two@tiptap/pm/viewcopies madeEditorCompletionExtension.ts'sdecorations()return (DecorationSet) non-assignable to the expectedDecorationSource(TS2322) — a duplicate-types mismatch, not a real API change.Fix: added
'@tiptap/pm': ^3.27.1to the existingpnpm-workspace.yamloverridesblock, so all@tiptap/pm(incl.y-tiptap's) dedupe to 3.27.3 → single@tiptap/pm/view→ types match. The example file is untouched.(A blanket
pnpm dedupewas rejected — it churned nuxt's install paths and triggered unrelatedTS2883declaration-emit errors insrc/runtime/plugins/*. The targeted override is minimal.)Tests
Dep bump + type annotation + override → no snapshot churn. Full suite unchanged (5277 passed / 6 skipped).
Verify (CI=true, pnpm 11.10.0)
Real install →
dev:prepare·lint·typecheck·test·build(no TS2883) — all green.Ledger
.sync/log/ad93121….md— port rationale.sync/nuxt-ui.json— addad93121asport, advance cursor; reconcile priord7284f3→ PR chore(sync): no-op upstream shiki-transformer-icon-highlight package swap (d7284f3) #246 /10c70a2a.🤖 Generated with Claude Code
Generated by Claude Code