@zenwave360/lsp-js 0.1.0-next.0 → 0.1.0-next.11.1
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/LICENSE +21 -21
- package/README.md +5 -3
- package/dist/browser/zenwave-lsp-worker.js +70053 -61107
- package/dist/node/zenwave-lsp-server.js +70053 -61107
- package/package.json +1 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 ZenWave's Authors and Contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ZenWave's Authors and Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ hover, definition, references, document symbols and formatting. `capabilities.ex
|
|
|
50
50
|
- `moduleSelectors`: `{ languageId, extensions }[]`, one entry per language module;
|
|
51
51
|
- `customRequests`: `string[]`, the `zenwave/*` requests this server answers. The list is built from the
|
|
52
52
|
server's handler registration, so a client can rely on it. A request that is not listed is answered
|
|
53
|
-
with JSON-RPC `-32601`. lsp-jvm
|
|
53
|
+
with JSON-RPC `-32601`. lsp-jvm additionally exposes workspace concept and status requests.
|
|
54
54
|
|
|
55
55
|
## Custom requests
|
|
56
56
|
|
|
@@ -71,7 +71,7 @@ module builds hierarchies for answers `[]`. In a ZFL hierarchy the systems, serv
|
|
|
71
71
|
annotated ZDL declares point at that ZDL (`sourceUri`/`sourceRange`), open or read, and list where the flow
|
|
72
72
|
refers to them as a `referenced-by` related resource. `viewNodeIds` names the ids of the nodes and service
|
|
73
73
|
groups of the same document's `zenwave/eventFlowViews` that stand for the node's concept (`command:createOrder`,
|
|
74
|
-
`event:OrderCreated`, `event:OrderCreated@Orders>OrderService`, `group:Orders>OrderService`, `policy
|
|
74
|
+
`event:OrderCreated`, `event:OrderCreated@Orders>OrderService`, `group:Orders>OrderService`, `policy:…`); it
|
|
75
75
|
is empty when the diagram has no counterpart.
|
|
76
76
|
|
|
77
77
|
`zenwave/preview` answers for ZDL (one Mermaid `class-diagram`) and ZFL (a `flowchart`, then one
|
|
@@ -92,5 +92,7 @@ Initialization options take the form `{ zenwave: { configUri?, projectManifestUr
|
|
|
92
92
|
## Building
|
|
93
93
|
|
|
94
94
|
This package is built by the zenwave-lsp Gradle build (`./gradlew :lsp-js:lspJsBundle`, or
|
|
95
|
-
`:lsp-js:lspJsNpmPack` for a tarball in `
|
|
95
|
+
`:lsp-js:lspJsNpmPack` for a tarball in `build/npm`). `:lsp-js:check` runs both wire tests:
|
|
96
96
|
`nodeIpcTest` forks the Node entry point, and `jsBrowserTest` loads the worker in headless Chromium.
|
|
97
|
+
|
|
98
|
+
See [npm publishing](../docs/npm-publishing.md) for snapshots and trusted publisher setup.
|