mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-11-04 21:13:17 +00:00
@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>
6 lines
78 B
YAML
6 lines
78 B
YAML
overrides:
|
|
marked: ^18.0.5
|
|
allowBuilds:
|
|
'@swc/core': true
|
|
esbuild: true
|