Files
pentagi/frontend/pnpm-workspace.yaml
T
Sergey KozyrenkoandClaude Opus 4.8 fb1c15926f chore(deps): dedup marked to one v18 via pnpm override
@tiptap/markdown pins marked ^17 while our direct dep (report-pdf + the
editor's parser instance) is ^18, so two marked copies were installed and
the marked config needed an `as never` to bridge the version skew.

Add `overrides: { marked: ^18.0.5 }` so @tiptap/markdown resolves onto v18
too — one copy. Behaviourally a no-op for the editor (it already passed a
v18 Marked instance to the MarkdownManager; only @tiptap/markdown's unused
default + types change, and the lexer API is identical 17↔18). Narrow the
createMarkdownLayer cast from `as never` to a typed cast now that the
versions match.

Verified on the forced v18: tsc, 747 vitest, lint, production build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 01:22:05 +07:00

6 lines
78 B
YAML

overrides:
marked: ^18.0.5
allowBuilds:
'@swc/core': true
esbuild: true