One of the downstream effects of this is that the resolved packages have multiple different dependencies on different versions of prosemirror-view, which then causes a TypeScript compilation error due to the different versions of prosemirror-view:
node_modules/@tiptap/core/node_modules/prosemirror-view/dist/index.d.ts:215:9 - error TS2717: Subsequent property declarations must have the same type. Property 'pmViewDesc' must be of type 'ViewDesc', but here has type 'ViewDesc'.
215 pmViewDesc?: ViewDesc;
~~~~~~~~~~
node_modules/prosemirror-view/dist/index.d.ts:215:9
215 pmViewDesc?: ViewDesc;
~~~~~~~~~~
'pmViewDesc' was also declared here.
Found 1 error in node_modules/@tiptap/core/node_modules/prosemirror-view/dist/index.d.ts:215
This was an issue in @tiptap/extension-table (also having pinned requirements), which has since been fixed. However, we don't get this fix because the version of @tiptap/extension-table has been pinned in this repo.
The
tiptap
dependencies were pinned (ie the^
semver operator was removed) in https://github.com/SoftwareBrothers/adminjs-design-system/commit/32ec6f5a08cf62b9183fdc5f22320ba6ed48434dOne of the downstream effects of this is that the resolved packages have multiple different dependencies on different versions of
prosemirror-view
, which then causes a TypeScript compilation error due to the different versions ofprosemirror-view
:This was an issue in
@tiptap/extension-table
(also having pinned requirements), which has since been fixed. However, we don't get this fix because the version of@tiptap/extension-table
has been pinned in this repo.