@vite-hub/realtime 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -10
- package/dist/application-path-CJblgbWK.js +6 -0
- package/dist/client.d.ts +46 -0
- package/dist/client.js +142 -0
- package/dist/conflict-CmZizTYl.d.ts +17 -0
- package/dist/conflict-rguoaHlE.js +34 -0
- package/dist/document-BFaqcCAL.js +2029 -0
- package/dist/document-CtY6umWY.d.ts +16 -0
- package/dist/durable-key-tnSw58ZK.js +8 -0
- package/dist/error-diagnostics-Cvm6vRXQ.js +73 -0
- package/dist/index.d.ts +17 -4
- package/dist/index.js +3 -1
- package/dist/layout-Br1aOL7o.js +153 -0
- package/dist/layout-WNWejwOY.d.ts +18 -0
- package/dist/protocol-9ZDLEcSS.js +146 -0
- package/dist/server.d.ts +95 -26
- package/dist/server.js +1596 -497
- package/dist/types-Bw6-42Se.d.ts +215 -0
- package/dist/vite.d.ts +80 -6
- package/dist/vite.js +582 -38
- package/dist/vue.d.ts +67 -3808
- package/dist/vue.js +338 -64
- package/package.json +61 -32
- package/dist/editor-extensions-CZEzrJ-t.js +0 -4860
- package/dist/types-BSDtKw5d.d.ts +0 -42
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-hub/realtime",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Realtime document primitives and Vite integration for ViteHub.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"collaboration",
|
|
7
7
|
"h3",
|
|
8
8
|
"realtime",
|
|
9
|
+
"typescript",
|
|
9
10
|
"vite",
|
|
10
11
|
"vitehub",
|
|
12
|
+
"websocket",
|
|
11
13
|
"yjs"
|
|
12
14
|
],
|
|
13
|
-
"homepage": "https://
|
|
15
|
+
"homepage": "https://vitehub.dev",
|
|
14
16
|
"bugs": "https://github.com/vite-hub/vitehub/issues",
|
|
15
17
|
"license": "Apache-2.0",
|
|
16
18
|
"author": "onmax <maximogarciamtnez@gmail.com>",
|
|
@@ -27,48 +29,75 @@
|
|
|
27
29
|
"sideEffects": false,
|
|
28
30
|
"types": "./dist/index.d.ts",
|
|
29
31
|
"exports": {
|
|
30
|
-
".":
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.js",
|
|
35
|
+
"default": "./dist/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./client": {
|
|
38
|
+
"types": "./dist/client.d.ts",
|
|
39
|
+
"import": "./dist/client.js",
|
|
40
|
+
"default": "./dist/client.js"
|
|
41
|
+
},
|
|
42
|
+
"./server": {
|
|
43
|
+
"types": "./dist/server.d.ts",
|
|
44
|
+
"import": "./dist/server.js",
|
|
45
|
+
"default": "./dist/server.js"
|
|
46
|
+
},
|
|
47
|
+
"./vite": {
|
|
48
|
+
"types": "./dist/vite.d.ts",
|
|
49
|
+
"import": "./dist/vite.js",
|
|
50
|
+
"default": "./dist/vite.js"
|
|
51
|
+
},
|
|
52
|
+
"./vue": {
|
|
53
|
+
"types": "./dist/vue.d.ts",
|
|
54
|
+
"import": "./dist/vue.js",
|
|
55
|
+
"default": "./dist/vue.js"
|
|
56
|
+
},
|
|
34
57
|
"./package.json": "./package.json"
|
|
35
58
|
},
|
|
36
59
|
"dependencies": {
|
|
37
|
-
"@tiptap/core": "^3.
|
|
38
|
-
"@tiptap/extension-collaboration": "^3.
|
|
39
|
-
"@tiptap/extension-document": "^3.
|
|
40
|
-
"@tiptap/extension-image": "^3.
|
|
41
|
-
"@tiptap/extension-table": "^3.
|
|
42
|
-
"@tiptap/markdown": "^3.
|
|
43
|
-
"@tiptap/pm": "^3.
|
|
44
|
-
"@tiptap/starter-kit": "^3.
|
|
45
|
-
"@tiptap/y-tiptap": "^3.0.
|
|
46
|
-
"@vite-hub/auth": "0.0
|
|
47
|
-
"@vite-hub/workspace": "0.0
|
|
48
|
-
"h3": "2.0.1-rc.
|
|
49
|
-
"lib0": "^0.2.
|
|
60
|
+
"@tiptap/core": "^3.31.4",
|
|
61
|
+
"@tiptap/extension-collaboration": "^3.31.4",
|
|
62
|
+
"@tiptap/extension-document": "^3.31.4",
|
|
63
|
+
"@tiptap/extension-image": "^3.31.4",
|
|
64
|
+
"@tiptap/extension-table": "^3.31.4",
|
|
65
|
+
"@tiptap/markdown": "^3.31.4",
|
|
66
|
+
"@tiptap/pm": "^3.31.4",
|
|
67
|
+
"@tiptap/starter-kit": "^3.31.4",
|
|
68
|
+
"@tiptap/y-tiptap": "^3.0.9",
|
|
69
|
+
"@vite-hub/auth": "0.1.0",
|
|
70
|
+
"@vite-hub/workspace": "0.1.0",
|
|
71
|
+
"h3": "2.0.1-rc.33",
|
|
72
|
+
"lib0": "^0.2.119",
|
|
50
73
|
"marked": "17.0.6",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
74
|
+
"nostics": "1.3.0",
|
|
75
|
+
"prosemirror-model": "^1.25.12",
|
|
76
|
+
"prosemirror-state": "^1.4.4",
|
|
77
|
+
"prosemirror-transform": "^1.12.2",
|
|
78
|
+
"prosemirror-view": "^1.42.3",
|
|
79
|
+
"y-protocols": "^1.0.7",
|
|
80
|
+
"y-websocket": "^3.1.0",
|
|
81
|
+
"yjs": "^13.6.33",
|
|
82
|
+
"@vite-hub/runtime": "0.1.0"
|
|
55
83
|
},
|
|
56
84
|
"devDependencies": {
|
|
57
85
|
"@types/json-schema": "^7.0.15",
|
|
58
|
-
"@types/node": "^24.
|
|
59
|
-
"linkedom": "^0.18.
|
|
60
|
-
"publint": "^0.3.
|
|
86
|
+
"@types/node": "^24.19.1",
|
|
87
|
+
"linkedom": "^0.18.13",
|
|
88
|
+
"publint": "^0.3.25",
|
|
61
89
|
"typescript": "^6.0.3",
|
|
62
|
-
"vite": "^8.
|
|
63
|
-
"vite-plus": "^0.
|
|
64
|
-
"vitest": "^4.1.
|
|
65
|
-
"vue": "
|
|
90
|
+
"vite": "^8.2.2",
|
|
91
|
+
"vite-plus": "^0.3.3",
|
|
92
|
+
"vitest": "^4.1.11",
|
|
93
|
+
"vue": "3.5.44",
|
|
94
|
+
"miniflare": "4.20260730.0",
|
|
66
95
|
"@vite-hub/internal": "0.0.1"
|
|
67
96
|
},
|
|
68
97
|
"peerDependencies": {
|
|
69
98
|
"@types/json-schema": "^7.0.15",
|
|
70
99
|
"vite": ">=8.0.0",
|
|
71
|
-
"vue": "
|
|
100
|
+
"vue": "3.5.44"
|
|
72
101
|
},
|
|
73
102
|
"peerDependenciesMeta": {
|
|
74
103
|
"vite": {
|
|
@@ -84,7 +113,7 @@
|
|
|
84
113
|
"scripts": {
|
|
85
114
|
"build": "vp pack",
|
|
86
115
|
"dev": "vp pack --watch",
|
|
87
|
-
"typecheck": "
|
|
116
|
+
"typecheck": "vp run --cache -t @vite-hub/realtime#build && node ../../test/package-typecheck.mjs --noEmit -p ./tsconfig.json",
|
|
88
117
|
"test": "vp run -t @vite-hub/realtime#build && vp test"
|
|
89
118
|
}
|
|
90
119
|
}
|