fix(maintainment): fix cjs issues with prosemirror-tables
This commit is contained in:
26
packages/extension-table/package-lock.json
generated
26
packages/extension-table/package-lock.json
generated
@@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"prosemirror-model": "^1.17.0",
|
||||
"prosemirror-state": "^1.4.0",
|
||||
"prosemirror-tables-contently": "^1.1.2",
|
||||
"@_bdbch/prosemirror-tables": "^1.1.3",
|
||||
"prosemirror-view": "^1.25.0"
|
||||
},
|
||||
"funding": {
|
||||
@@ -181,18 +181,6 @@
|
||||
"prosemirror-transform": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/prosemirror-tables-contently": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/prosemirror-tables-contently/-/prosemirror-tables-contently-1.1.2.tgz",
|
||||
"integrity": "sha512-REa13GZyVcmwUef6eFfGIZ4IIT3n+95+FEQC0mIg3F7MlwBp5q2lL5y/Pl8EcSIDDagoXp/8oW6uaYy0tWhb6A==",
|
||||
"dependencies": {
|
||||
"prosemirror-keymap": "^1.1.2",
|
||||
"prosemirror-model": "^1.8.1",
|
||||
"prosemirror-state": "^1.3.1",
|
||||
"prosemirror-transform": "^1.2.1",
|
||||
"prosemirror-view": "^1.13.3"
|
||||
}
|
||||
},
|
||||
"node_modules/prosemirror-transform": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.6.0.tgz",
|
||||
@@ -373,18 +361,6 @@
|
||||
"prosemirror-transform": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"prosemirror-tables-contently": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/prosemirror-tables-contently/-/prosemirror-tables-contently-1.1.2.tgz",
|
||||
"integrity": "sha512-REa13GZyVcmwUef6eFfGIZ4IIT3n+95+FEQC0mIg3F7MlwBp5q2lL5y/Pl8EcSIDDagoXp/8oW6uaYy0tWhb6A==",
|
||||
"requires": {
|
||||
"prosemirror-keymap": "^1.1.2",
|
||||
"prosemirror-model": "^1.8.1",
|
||||
"prosemirror-state": "^1.3.1",
|
||||
"prosemirror-transform": "^1.2.1",
|
||||
"prosemirror-view": "^1.13.3"
|
||||
}
|
||||
},
|
||||
"prosemirror-transform": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.6.0.tgz",
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"dependencies": {
|
||||
"prosemirror-model": "1.18.1",
|
||||
"prosemirror-state": "1.4.0",
|
||||
"prosemirror-tables-contently": "1.1.2",
|
||||
"@_bdbch/prosemirror-tables": "1.1.3",
|
||||
"prosemirror-view": "1.26.1"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
import {
|
||||
callOrReturn,
|
||||
getExtensionField,
|
||||
mergeAttributes,
|
||||
Node,
|
||||
ParentConfig,
|
||||
} from '@tiptap/core'
|
||||
import { TextSelection } from 'prosemirror-state'
|
||||
import {
|
||||
addColumnAfter,
|
||||
addColumnBefore,
|
||||
@@ -24,7 +16,15 @@ import {
|
||||
tableEditing,
|
||||
toggleHeader,
|
||||
toggleHeaderCell,
|
||||
} from 'prosemirror-tables-contently'
|
||||
} from '@_bdbch/prosemirror-tables'
|
||||
import {
|
||||
callOrReturn,
|
||||
getExtensionField,
|
||||
mergeAttributes,
|
||||
Node,
|
||||
ParentConfig,
|
||||
} from '@tiptap/core'
|
||||
import { TextSelection } from 'prosemirror-state'
|
||||
import { NodeView } from 'prosemirror-view'
|
||||
|
||||
import { TableView } from './TableView'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CellSelection } from 'prosemirror-tables-contently'
|
||||
import { CellSelection } from '@_bdbch/prosemirror-tables'
|
||||
|
||||
export function isCellSelection(value: unknown): value is CellSelection {
|
||||
return value instanceof CellSelection
|
||||
|
||||
Reference in New Issue
Block a user