fix(extension/table): move dependency from @_ueberdosis to @tiptap (#3448)

This commit is contained in:
Dominik 2022-11-24 14:48:48 +01:00 committed by GitHub
parent 22cccc7f5d
commit 31c3a9aad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 37 additions and 34 deletions

View File

@ -10,7 +10,7 @@ prosemirror-keymap
prosemirror-model
prosemirror-schema-list
prosemirror-state
@_ueberdosis/prosemirror-tables
@tiptap/prosemirror-tables
prosemirror-transform
prosemirror-view
react

49
package-lock.json generated
View File

@ -84,17 +84,6 @@
"vue-router": "^4.0.11"
}
},
"node_modules/@_ueberdosis/prosemirror-tables": {
"version": "1.1.3",
"license": "MIT",
"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/@ampproject/remapping": {
"version": "2.2.0",
"dev": true,
@ -6721,6 +6710,18 @@
"resolved": "packages/html",
"link": true
},
"node_modules/@tiptap/prosemirror-tables": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@tiptap/prosemirror-tables/-/prosemirror-tables-1.1.3.tgz",
"integrity": "sha512-Pp7Iyup+kxniDGEvFHX+BRw3et9vys83NVqk6B+PbVAztq64QyX/mY+vzcpFmOsF9/th+Po981igbGUG7C/8hw==",
"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/@tiptap/react": {
"resolved": "packages/react",
"link": true
@ -19799,7 +19800,7 @@
"version": "2.0.0-beta.202",
"license": "MIT",
"dependencies": {
"@_ueberdosis/prosemirror-tables": "1.1.3",
"@tiptap/prosemirror-tables": "^1.1.3",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
@ -20081,16 +20082,6 @@
}
},
"dependencies": {
"@_ueberdosis/prosemirror-tables": {
"version": "1.1.3",
"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"
}
},
"@ampproject/remapping": {
"version": "2.2.0",
"dev": true,
@ -25054,7 +25045,7 @@
"@tiptap/extension-table": {
"version": "file:packages/extension-table",
"requires": {
"@_ueberdosis/prosemirror-tables": "1.1.3",
"@tiptap/prosemirror-tables": "^1.1.3",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"
@ -25112,6 +25103,18 @@
"zeed-dom": "^0.9.19"
}
},
"@tiptap/prosemirror-tables": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@tiptap/prosemirror-tables/-/prosemirror-tables-1.1.3.tgz",
"integrity": "sha512-Pp7Iyup+kxniDGEvFHX+BRw3et9vys83NVqk6B+PbVAztq64QyX/mY+vzcpFmOsF9/th+Po981igbGUG7C/8hw==",
"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"
}
},
"@tiptap/react": {
"version": "file:packages/react",
"requires": {

View File

@ -24,7 +24,7 @@
"@tiptap/core": "^2.0.0-beta.193"
},
"dependencies": {
"@_ueberdosis/prosemirror-tables": "1.1.3",
"@tiptap/prosemirror-tables": "^1.1.3",
"prosemirror-model": "^1.18.1",
"prosemirror-state": "^1.4.1",
"prosemirror-view": "^1.28.2"

View File

@ -1,3 +1,10 @@
import {
callOrReturn,
getExtensionField,
mergeAttributes,
Node,
ParentConfig,
} from '@tiptap/core'
import {
addColumnAfter,
addColumnBefore,
@ -16,14 +23,7 @@ import {
tableEditing,
toggleHeader,
toggleHeaderCell,
} from '@_ueberdosis/prosemirror-tables'
import {
callOrReturn,
getExtensionField,
mergeAttributes,
Node,
ParentConfig,
} from '@tiptap/core'
} from '@tiptap/prosemirror-tables'
import { TextSelection } from 'prosemirror-state'
import { NodeView } from 'prosemirror-view'

View File

@ -1,4 +1,4 @@
import { CellSelection } from '@_ueberdosis/prosemirror-tables'
import { CellSelection } from '@tiptap/prosemirror-tables'
export function isCellSelection(value: unknown): value is CellSelection {
return value instanceof CellSelection