@hydranium/data-server 1.0.0-next.309 → 1.0.0-next.313
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 +2 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -38,7 +38,8 @@ with `@hydranium/core`.
|
|
|
38
38
|
|
|
39
39
|
1. Start a launcher from `@hydranium/core/node`: `startSocketServer` beside the
|
|
40
40
|
LSP head, with `publishPortOnLspConnection` to tell the client its port, or
|
|
41
|
-
`startStdioServer` for a data head alone.
|
|
41
|
+
`startStdioServer` for a data head alone. Without an LSP head, give it the
|
|
42
|
+
workspace root as `workspace`.
|
|
42
43
|
2. In its connection callback, create `new DataServer(connection, shared)`. It
|
|
43
44
|
cleans up when the connection closes.
|
|
44
45
|
3. In a web worker, start it with `startDataServerInWorker` from `./browser`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hydranium/data-server",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.313",
|
|
4
4
|
"description": "Typed-RPC protocol head for the hydranium framework. Peer of @hydranium/core/lsp and @hydranium/glsp-server; built on @hydranium/core.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data-server",
|
|
@@ -70,18 +70,18 @@
|
|
|
70
70
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@hydranium/core": "1.0.0-next.
|
|
74
|
-
"@hydranium/langium": "1.0.0-next.
|
|
75
|
-
"@hydranium/protocol": "1.0.0-next.
|
|
73
|
+
"@hydranium/core": "1.0.0-next.313",
|
|
74
|
+
"@hydranium/langium": "1.0.0-next.313",
|
|
75
|
+
"@hydranium/protocol": "1.0.0-next.313",
|
|
76
76
|
"rimraf": "^5.0.0",
|
|
77
77
|
"typescript": "^7.0.2",
|
|
78
78
|
"vscode-jsonrpc": "9.0.0",
|
|
79
79
|
"vscode-languageserver-textdocument": "^1.0.12"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@hydranium/core": "1.0.0-next.
|
|
83
|
-
"@hydranium/langium": "1.0.0-next.
|
|
84
|
-
"@hydranium/protocol": "1.0.0-next.
|
|
82
|
+
"@hydranium/core": "1.0.0-next.313",
|
|
83
|
+
"@hydranium/langium": "1.0.0-next.313",
|
|
84
|
+
"@hydranium/protocol": "1.0.0-next.313",
|
|
85
85
|
"vscode-jsonrpc": "^9.0.0",
|
|
86
86
|
"vscode-languageserver-textdocument": "^1.0.12"
|
|
87
87
|
},
|