Skip to content

chore(deps): update tiptap to ^3.27.1 - #247

Merged
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-ad93121
Jul 10, 2026
Merged

chore(deps): update tiptap to ^3.27.1#247
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-ad93121

Conversation

@IgorShevchik

Copy link
Copy Markdown
Collaborator

Upstream

ad93121chore(deps): update tiptap to ^3.27.1 (#6654)

Change

  • Bump all 25 @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; SuggestionPluginState isn't exported by @tiptap/suggestion).
  • Lockfile regenerated (tiptap resolves to 3.27.3).

Deviation — @tiptap/pm override (b24ui-specific)

b24ui's tree pulls @tiptap/y-tiptap@3.0.3 (via extension-collaboration), which pins @tiptap/pm@^3.26.x → a second @tiptap/pm@3.26.1 + prosemirror-view@1.41.8 alongside the bumped 3.27.3. Two @tiptap/pm/view copies made EditorCompletionExtension.ts's decorations() return (DecorationSet) non-assignable to the expected DecorationSource (TS2322) — a duplicate-types mismatch, not a real API change.

Fix: added '@tiptap/pm': ^3.27.1 to the existing pnpm-workspace.yaml overrides block, 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 dedupe was rejected — it churned nuxt's install paths and triggered unrelated TS2883 declaration-emit errors in src/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

🤖 Generated with Claude Code


Generated by Claude Code

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
@IgorShevchik
IgorShevchik merged commit 805ca93 into main Jul 10, 2026
1 check passed
@IgorShevchik
IgorShevchik deleted the sync/nuxt-ad93121 branch July 10, 2026 10:26
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.

2 participants