Skip to content

Commit 422ae49

Browse files
authored
chore: upgrade deps (#772)
* upgrade deps * upgrade prosemirror-model
1 parent feaee16 commit 422ae49

File tree

13 files changed

+1207
-1224
lines changed

13 files changed

+1207
-1224
lines changed

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"react-github-btn": "^1.4.0",
3434
"react-icons": "^5.2.1",
3535
"y-partykit": "^0.0.25",
36-
"yjs": "^13.6.1"
36+
"yjs": "^13.6.15"
3737
},
3838
"devDependencies": {
3939
"@types/node": "^20",

examples/06-collaboration/01-partykit/.bnexample.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"tags": ["Advanced", "Saving/Loading", "Collaboration"],
66
"dependencies": {
77
"y-partykit": "^0.0.25",
8-
"yjs": "^13.6.1"
8+
"yjs": "^13.6.15"
99
}
1010
}

examples/06-collaboration/01-partykit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react": "^18.2.0",
2020
"react-dom": "^18.2.0",
2121
"y-partykit": "^0.0.25",
22-
"yjs": "^13.6.1"
22+
"yjs": "^13.6.15"
2323
},
2424
"devDependencies": {
2525
"@types/react": "^18.0.25",

examples/06-collaboration/02-liveblocks/.bnexample.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"@liveblocks/client": "^1.10.0",
88
"@liveblocks/react": "^1.10.0",
99
"@liveblocks/yjs": "^1.10.0",
10-
"yjs": "^13.6.1"
10+
"yjs": "^13.6.15"
1111
}
1212
}

examples/06-collaboration/02-liveblocks/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@liveblocks/client": "^1.10.0",
2222
"@liveblocks/react": "^1.10.0",
2323
"@liveblocks/yjs": "^1.10.0",
24-
"yjs": "^13.6.1"
24+
"yjs": "^13.6.15"
2525
},
2626
"devDependencies": {
2727
"@types/react": "^18.0.25",

package-lock.json

+1,166-1,178
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-5
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,5 @@
3333
"prepublishOnly": "npm run build && cp README.md packages/core/README.md && cp README.md packages/react/README.md",
3434
"postpublish": "rm -rf packages/core/README.md && rm -rf packages/react/README.md",
3535
"clean": "lerna run --stream clean"
36-
},
37-
"overrides": {
38-
"react": "18.2.0",
39-
"react-dom": "18.2.0",
40-
"prosemirror-model": "1.18.3"
4136
}
4237
}

packages/core/package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -54,32 +54,32 @@
5454
"clean": "rimraf dist && rimraf types"
5555
},
5656
"dependencies": {
57-
"@tiptap/core": "^2.0.3",
58-
"@tiptap/extension-bold": "^2.0.3",
59-
"@tiptap/extension-code": "^2.0.3",
60-
"@tiptap/extension-collaboration": "^2.0.3",
61-
"@tiptap/extension-collaboration-cursor": "^2.0.3",
62-
"@tiptap/extension-dropcursor": "^2.0.3",
63-
"@tiptap/extension-gapcursor": "^2.0.3",
64-
"@tiptap/extension-hard-break": "^2.0.3",
65-
"@tiptap/extension-history": "^2.0.3",
66-
"@tiptap/extension-horizontal-rule": "^2.0.3",
67-
"@tiptap/extension-italic": "^2.0.3",
68-
"@tiptap/extension-link": "^2.0.3",
69-
"@tiptap/extension-paragraph": "^2.0.3",
70-
"@tiptap/extension-strike": "^2.0.3",
71-
"@tiptap/extension-table-cell": "^2.0.3",
72-
"@tiptap/extension-table-header": "^2.0.3",
73-
"@tiptap/extension-table-row": "^2.0.3",
74-
"@tiptap/extension-text": "^2.0.3",
75-
"@tiptap/extension-underline": "^2.0.3",
76-
"@tiptap/pm": "^2.0.3",
57+
"@tiptap/core": "^2.4.0",
58+
"@tiptap/extension-bold": "^2.4.0",
59+
"@tiptap/extension-code": "^2.4.0",
60+
"@tiptap/extension-collaboration": "^2.4.0",
61+
"@tiptap/extension-collaboration-cursor": "^2.4.0",
62+
"@tiptap/extension-dropcursor": "^2.4.0",
63+
"@tiptap/extension-gapcursor": "^2.4.0",
64+
"@tiptap/extension-hard-break": "^2.4.0",
65+
"@tiptap/extension-history": "^2.4.0",
66+
"@tiptap/extension-horizontal-rule": "^2.4.0",
67+
"@tiptap/extension-italic": "^2.4.0",
68+
"@tiptap/extension-link": "^2.4.0",
69+
"@tiptap/extension-paragraph": "^2.4.0",
70+
"@tiptap/extension-strike": "^2.4.0",
71+
"@tiptap/extension-table-cell": "^2.4.0",
72+
"@tiptap/extension-table-header": "^2.4.0",
73+
"@tiptap/extension-table-row": "^2.4.0",
74+
"@tiptap/extension-text": "^2.4.0",
75+
"@tiptap/extension-underline": "^2.4.0",
76+
"@tiptap/pm": "^2.4.0",
7777
"hast-util-from-dom": "^4.2.0",
78-
"prosemirror-model": "^1.18.3",
78+
"prosemirror-model": "^1.21.0",
7979
"prosemirror-state": "^1.4.3",
80-
"prosemirror-tables": "^1.3.4",
81-
"prosemirror-transform": "^1.7.2",
82-
"prosemirror-view": "^1.31.4",
80+
"prosemirror-tables": "^1.3.7",
81+
"prosemirror-transform": "^1.9.0",
82+
"prosemirror-view": "^1.33.7",
8383
"rehype-format": "^5.0.0",
8484
"rehype-parse": "^8.0.4",
8585
"rehype-remark": "^9.1.2",
@@ -90,9 +90,9 @@
9090
"remark-stringify": "^10.0.2",
9191
"unified": "^10.1.2",
9292
"uuid": "^8.3.2",
93-
"y-prosemirror": "1.2.1",
94-
"y-protocols": "^1.0.5",
95-
"yjs": "^13.6.1"
93+
"y-prosemirror": "1.2.5",
94+
"y-protocols": "^1.0.6",
95+
"yjs": "^13.6.15"
9696
},
9797
"devDependencies": {
9898
"@types/hast": "^2.3.4",

packages/core/src/schema/blocks/createSpec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ParseRule } from "@tiptap/pm/model";
1+
import { TagParseRule } from "@tiptap/pm/model";
22
import type { BlockNoteEditor } from "../../editor/BlockNoteEditor";
33
import { InlineContentSchema } from "../inlineContent/types";
44
import { StyleSchema } from "../styles/types";
@@ -68,7 +68,7 @@ export function getParseRules(
6868
config: BlockConfig,
6969
customParseFunction: CustomBlockImplementation<any, any, any>["parse"]
7070
) {
71-
const rules: ParseRule[] = [
71+
const rules: TagParseRule[] = [
7272
{
7373
tag: "[data-content-type=" + config.type + "]",
7474
contentElement: "[data-editable]",

packages/core/src/schema/inlineContent/createSpec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Node } from "@tiptap/core";
2-
import { ParseRule } from "@tiptap/pm/model";
2+
import { TagParseRule } from "@tiptap/pm/model";
33
import { nodeToCustomInlineContent } from "../../api/nodeConversions/nodeConversions";
44
import { propsToAttributes } from "../blocks/internal";
55
import { Props } from "../propTypes";
@@ -46,7 +46,7 @@ export type CustomInlineContentImplementation<
4646

4747
export function getInlineContentParseRules(
4848
config: CustomInlineContentConfig
49-
): ParseRule[] {
49+
): TagParseRule[] {
5050
return [
5151
{
5252
tag: `[data-inline-content-type="${config.type}"]`,

packages/react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"dependencies": {
5353
"@blocknote/core": "^0.13.4",
5454
"@floating-ui/react": "^0.26.4",
55-
"@tiptap/core": "^2.0.3",
56-
"@tiptap/react": "^2.0.3",
55+
"@tiptap/core": "^2.4.0",
56+
"@tiptap/react": "^2.4.0",
5757
"lodash.merge": "^4.6.2",
5858
"react": "^18",
5959
"react-dom": "^18",

playground/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"react-icons": "^5.2.1",
2424
"react-router-dom": "^6.20.0",
2525
"y-partykit": "^0.0.25",
26-
"yjs": "^13.6.10"
26+
"yjs": "^13.6.15"
2727
},
2828
"devDependencies": {
2929
"@types/react": "^18.0.25",

playground/src/examples.gen.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@
759759
],
760760
"dependencies": {
761761
"y-partykit": "^0.0.25",
762-
"yjs": "^13.6.1"
762+
"yjs": "^13.6.15"
763763
}
764764
},
765765
"title": "Collaborative Editing with PartyKit",
@@ -785,7 +785,7 @@
785785
"@liveblocks/client": "^1.10.0",
786786
"@liveblocks/react": "^1.10.0",
787787
"@liveblocks/yjs": "^1.10.0",
788-
"yjs": "^13.6.1"
788+
"yjs": "^13.6.15"
789789
}
790790
},
791791
"title": "Collaborative Editing with Liveblocks",

0 commit comments

Comments
 (0)