diff --git a/docs/package.json b/docs/package.json index 677bd9d17d..5d60b74a92 100644 --- a/docs/package.json +++ b/docs/package.json @@ -101,7 +101,7 @@ "shiki": "^3.13.0", "ts-morph": "26.0.0", "twoslash": "^0.3.4", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27", "zod": "^3.25.76", "zustand": "^5.0.3" diff --git a/examples/07-collaboration/01-partykit/package.json b/examples/07-collaboration/01-partykit/package.json index 68b38c8bbf..06b271d634 100644 --- a/examples/07-collaboration/01-partykit/package.json +++ b/examples/07-collaboration/01-partykit/package.json @@ -21,7 +21,7 @@ "@mantine/utils": "^6.0.22", "react": "^19.2.0", "react-dom": "^19.2.0", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27" }, "devDependencies": { diff --git a/examples/07-collaboration/07-ghost-writer/package.json b/examples/07-collaboration/07-ghost-writer/package.json index fb66b39740..65cdafa4af 100644 --- a/examples/07-collaboration/07-ghost-writer/package.json +++ b/examples/07-collaboration/07-ghost-writer/package.json @@ -21,7 +21,7 @@ "@mantine/utils": "^6.0.22", "react": "^19.2.0", "react-dom": "^19.2.0", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27" }, "devDependencies": { diff --git a/examples/07-collaboration/08-forking/package.json b/examples/07-collaboration/08-forking/package.json index ae0c5ecf12..115479e0f3 100644 --- a/examples/07-collaboration/08-forking/package.json +++ b/examples/07-collaboration/08-forking/package.json @@ -21,7 +21,7 @@ "@mantine/utils": "^6.0.22", "react": "^19.2.0", "react-dom": "^19.2.0", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27" }, "devDependencies": { diff --git a/examples/09-ai/04-with-collaboration/package.json b/examples/09-ai/04-with-collaboration/package.json index 38e48b84ff..3881a37010 100644 --- a/examples/09-ai/04-with-collaboration/package.json +++ b/examples/09-ai/04-with-collaboration/package.json @@ -23,7 +23,7 @@ "react-dom": "^19.2.0", "@blocknote/xl-ai": "latest", "ai": "^5.0.45", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27", "zustand": "^5.0.3" }, diff --git a/examples/09-ai/05-manual-execution/package.json b/examples/09-ai/05-manual-execution/package.json index c4d513fc84..ae41c55c88 100644 --- a/examples/09-ai/05-manual-execution/package.json +++ b/examples/09-ai/05-manual-execution/package.json @@ -23,7 +23,7 @@ "react-dom": "^19.2.0", "@blocknote/xl-ai": "latest", "ai": "^5.0.45", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27", "zustand": "^5.0.3" }, diff --git a/playground/package.json b/playground/package.json index 131a1e94da..aac8a062b1 100644 --- a/playground/package.json +++ b/playground/package.json @@ -58,7 +58,7 @@ "react-dom": "^19.2.0", "react-icons": "^5.5.0", "react-router-dom": "^6.30.1", - "y-partykit": "^0.0.25", + "y-partykit": "^0.0.33", "yjs": "^13.6.27", "zustand": "^5.0.8" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76df1a86e1..8ceab73428 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -188,7 +188,7 @@ importers: specifier: ^3.2.1 version: 3.13.0 '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) '@uppy/core': specifier: ^3.13.1 @@ -323,8 +323,8 @@ importers: specifier: ^0.3.4 version: 0.3.4(typescript@5.9.3) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -3382,8 +3382,8 @@ importers: specifier: ^19.2.0 version: 19.2.0(react@19.2.0) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -3691,8 +3691,8 @@ importers: specifier: ^19.2.0 version: 19.2.0(react@19.2.0) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -3743,8 +3743,8 @@ importers: specifier: ^19.2.0 version: 19.2.0(react@19.2.0) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -3789,7 +3789,7 @@ importers: specifier: ^6.0.22 version: 6.0.22(react@19.2.0) '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) react: specifier: ^19.2.0 @@ -4018,8 +4018,8 @@ importers: specifier: ^19.2.0 version: 19.2.0(react@19.2.0) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -4079,8 +4079,8 @@ importers: specifier: ^19.2.0 version: 19.2.0(react@19.2.0) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -4456,7 +4456,7 @@ importers: specifier: 3.13.0 version: 3.13.0 '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) '@tiptap/extension-bold': specifier: ^3.7.2 @@ -4492,7 +4492,7 @@ importers: specifier: ^3.7.2 version: 3.7.2(@tiptap/core@3.10.2(@tiptap/pm@3.10.2)) '@tiptap/pm': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2 emoji-mart: specifier: ^5.6.0 @@ -4705,10 +4705,10 @@ importers: specifier: ^0.27.16 version: 0.27.16(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) '@tiptap/pm': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2 '@tiptap/react': specifier: ^3.10.2 @@ -4784,10 +4784,10 @@ importers: specifier: 0.41.1 version: link:../react '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) '@tiptap/pm': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2 jsdom: specifier: ^25.0.1 @@ -4963,7 +4963,7 @@ importers: specifier: ^0.26.28 version: 0.26.28(react-dom@19.2.0(react@19.2.0))(react@19.2.0) '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) ai: specifier: ^5.0.76 @@ -5282,7 +5282,7 @@ importers: specifier: 0.41.1 version: link:../react '@tiptap/core': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2(@tiptap/pm@3.10.2) prosemirror-model: specifier: ^1.25.4 @@ -5609,8 +5609,8 @@ importers: specifier: ^6.30.1 version: 6.30.1(react-dom@19.2.0(react@19.2.0))(react@19.2.0) y-partykit: - specifier: ^0.0.25 - version: 0.0.25 + specifier: ^0.0.33 + version: 0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27) yjs: specifier: ^13.6.27 version: 13.6.27 @@ -5695,7 +5695,7 @@ importers: specifier: 1.51.1 version: 1.51.1 '@tiptap/pm': - specifier: ^3.10.2 + specifier: ^3.0.0 version: 3.10.2 '@types/node': specifier: ^20.19.22 @@ -14232,10 +14232,6 @@ packages: react: '>=16.6.0' react-dom: '>=16.6.0' - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} - engines: {node: '>=0.10.0'} - react@19.2.0: resolution: {integrity: sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==} engines: {node: '>=0.10.0'} @@ -15670,8 +15666,15 @@ packages: peerDependencies: yjs: ^13.0.0 - y-partykit@0.0.25: - resolution: {integrity: sha512-/EIL73TuYX6lYnxM4mb/kTTKllS1vNjBXk9KJXFwTXFrUqMo8hbJMqnE+glvBG2EDejEI06rk3jR50lpDB8Dqg==} + y-partykit@0.0.33: + resolution: {integrity: sha512-TqM2H/C1fBZbFjL9kpBLC3EWWaizBUYdFzW5DMGmcZYfQv5tYYIBTqUW4eCZOXHkhNLTEA+s2ydSKGYi8u1+sg==} + peerDependencies: + react: '*' + y-protocols: ^1.0.6 + yjs: ^13.6.16 + peerDependenciesMeta: + react: + optional: true y-prosemirror@1.3.7: resolution: {integrity: sha512-NpM99WSdD4Fx4if5xOMDpPtU3oAmTSjlzh5U4353ABbRHl1HtAFUx6HlebLZfyFxXN9jzKMDkVbcRjqOZVkYQg==} @@ -24183,7 +24186,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 22.15.2 + '@types/node': 20.19.22 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -26100,10 +26103,6 @@ snapshots: react: 19.2.0 react-dom: 19.2.0(react@19.2.0) - react@18.3.1: - dependencies: - loose-envify: 1.4.0 - react@19.2.0: {} readable-stream@2.3.8: @@ -27953,13 +27952,14 @@ snapshots: lib0: 0.2.114 yjs: 13.6.27 - y-partykit@0.0.25: + y-partykit@0.0.33(react@19.2.0)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27): dependencies: lib0: 0.2.114 lodash.debounce: 4.0.8 - react: 18.3.1 y-protocols: 1.0.6(yjs@13.6.27) yjs: 13.6.27 + optionalDependencies: + react: 19.2.0 y-prosemirror@1.3.7(prosemirror-model@1.25.4)(prosemirror-state@1.4.4)(prosemirror-view@1.41.3)(y-protocols@1.0.6(yjs@13.6.27))(yjs@13.6.27): dependencies: