@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/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@vite-hub/realtime",
3
- "version": "0.0.4",
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://github.com/vite-hub/vitehub#readme",
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
- ".": "./dist/index.js",
31
- "./server": "./dist/server.js",
32
- "./vite": "./dist/vite.js",
33
- "./vue": "./dist/vue.js",
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.29.2",
38
- "@tiptap/extension-collaboration": "^3.29.2",
39
- "@tiptap/extension-document": "^3.29.2",
40
- "@tiptap/extension-image": "^3.29.2",
41
- "@tiptap/extension-table": "^3.29.2",
42
- "@tiptap/markdown": "^3.29.2",
43
- "@tiptap/pm": "^3.29.2",
44
- "@tiptap/starter-kit": "^3.29.2",
45
- "@tiptap/y-tiptap": "^3.0.8",
46
- "@vite-hub/auth": "0.0.4",
47
- "@vite-hub/workspace": "0.0.4",
48
- "h3": "2.0.1-rc.25",
49
- "lib0": "^0.2.114",
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
- "pathe": "^2.0.3",
52
- "y-protocols": "^1.0.6",
53
- "y-websocket": "^3.0.0",
54
- "yjs": "^13.6.27"
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.13.3",
59
- "linkedom": "^0.18.12",
60
- "publint": "^0.3.21",
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.0.8",
63
- "vite-plus": "^0.1.24",
64
- "vitest": "^4.1.4",
65
- "vue": "^3.5.0",
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": "^3.5.0"
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": "tsc --noEmit -p ./tsconfig.json",
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
  }