@likec4/language-server 0.40.0 → 0.42.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/contrib/likec4.monarch.ts +48 -0
- package/contrib/likec4.tmLanguage.json +73 -0
- package/dist/Rpc.d.ts +1 -0
- package/dist/ast.d.ts +117 -0
- package/dist/ast.js +46 -2
- package/dist/elementRef.d.ts +2 -1
- package/dist/generated/ast.d.ts +45 -3
- package/dist/generated/ast.js +36 -2
- package/dist/generated/grammar.d.ts +2 -0
- package/dist/generated/grammar.js +1 -1
- package/dist/generated/module.d.ts +6 -1
- package/dist/index.d.ts +1 -0
- package/dist/logger.d.ts +1 -0
- package/dist/lsp/CodeLensProvider.d.ts +1 -0
- package/dist/lsp/DocumentLinkProvider.d.ts +1 -0
- package/dist/lsp/DocumentSymbolProvider.d.ts +1 -0
- package/dist/lsp/HoverProvider.d.ts +1 -0
- package/dist/lsp/SemanticTokenProvider.d.ts +1 -0
- package/dist/lsp/SemanticTokenProvider.js +21 -14
- package/dist/lsp/index.d.ts +1 -0
- package/dist/model/fqn-computation.d.ts +1 -0
- package/dist/model/fqn-index.d.ts +1 -0
- package/dist/model/fqn-index.js +25 -19
- package/dist/model/index.d.ts +1 -0
- package/dist/model/model-builder.d.ts +2 -1
- package/dist/model/model-builder.js +21 -15
- package/dist/model/model-locator.d.ts +1 -0
- package/dist/model/model-parser.d.ts +1 -0
- package/dist/model/model-parser.js +21 -32
- package/dist/module.d.ts +1 -0
- package/dist/protocol.d.ts +1 -0
- package/dist/references/index.d.ts +1 -0
- package/dist/references/scope-computation.d.ts +3 -2
- package/dist/references/scope-computation.js +5 -0
- package/dist/references/scope-provider.d.ts +2 -1
- package/dist/shared/WorkspaceManager.d.ts +2 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/test/index.d.ts +1 -0
- package/dist/test/testServices.d.ts +7 -6
- package/dist/test/testServices.js +12 -3
- package/dist/utils.d.ts +1 -0
- package/dist/validation/element.d.ts +3 -0
- package/dist/validation/element.js +17 -13
- package/dist/validation/index.d.ts +1 -0
- package/dist/validation/index.js +3 -2
- package/dist/validation/relation.d.ts +2 -0
- package/dist/validation/relation.js +8 -4
- package/dist/validation/specification.d.ts +3 -0
- package/dist/validation/specification.js +12 -0
- package/dist/validation/view.d.ts +2 -0
- package/dist/view-utils/assignNavigateTo.d.ts +3 -0
- package/dist/view-utils/assignNavigateTo.js +20 -0
- package/dist/view-utils/index.d.ts +4 -0
- package/dist/view-utils/index.js +3 -0
- package/dist/view-utils/resolve-extended-views.d.ts +7 -0
- package/dist/view-utils/resolve-extended-views.js +41 -0
- package/dist/view-utils/resolve-relative-paths.d.ts +3 -0
- package/dist/view-utils/resolve-relative-paths.js +76 -0
- package/package.json +22 -14
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/language-server",
|
|
3
3
|
"description": "LikeC4 Language Server",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.42.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
7
7
|
"homepage": "https://likec4.dev",
|
|
@@ -28,45 +28,53 @@
|
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"registry": "https://registry.npmjs.org",
|
|
31
|
-
"access": "public"
|
|
31
|
+
"access": "public",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"default": "./dist/index.js"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
32
38
|
},
|
|
33
39
|
"scripts": {
|
|
34
|
-
"typecheck
|
|
35
|
-
"typecheck": "tsc --emitDeclarationOnly",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
36
41
|
"watch:langium": "langium generate --watch",
|
|
37
42
|
"watch:ts": "tsc --watch",
|
|
38
43
|
"generate": "langium generate",
|
|
39
|
-
"prepack": "
|
|
40
|
-
"build:
|
|
41
|
-
"build:turbo": "run -T turbo run build --filter='language-server'",
|
|
44
|
+
"prepack": "unbuild",
|
|
45
|
+
"build:turbo": "run -T turbo build --filter='language-server'",
|
|
42
46
|
"build": "unbuild",
|
|
43
47
|
"dev": "run-p 'watch:*'",
|
|
44
48
|
"lint": "run -T eslint src/ --fix",
|
|
45
49
|
"clean": "run -T rimraf dist contrib",
|
|
46
|
-
"test": "vitest run"
|
|
47
|
-
"test:watch": "vitest"
|
|
50
|
+
"test": "vitest run"
|
|
48
51
|
},
|
|
49
52
|
"dependencies": {
|
|
50
|
-
"@likec4/core": "0.
|
|
53
|
+
"@likec4/core": "0.42.0",
|
|
54
|
+
"@likec4/graph": "0.42.0",
|
|
51
55
|
"langium": "^2.0.2",
|
|
52
56
|
"object-hash": "^3.0.0",
|
|
53
57
|
"p-debounce": "^4.0.0",
|
|
54
58
|
"p-throttle": "^5.1.0",
|
|
55
59
|
"rambdax": "^9.1.1",
|
|
56
|
-
"remeda": "^1.27.
|
|
60
|
+
"remeda": "^1.27.1",
|
|
57
61
|
"strip-indent": "^4.0.0",
|
|
58
62
|
"vscode-languageserver": "~8.1.0",
|
|
59
63
|
"vscode-languageserver-protocol": "~3.17.3",
|
|
60
64
|
"vscode-uri": "~3.0.7"
|
|
61
65
|
},
|
|
62
66
|
"devDependencies": {
|
|
63
|
-
"@types/node": "^
|
|
64
|
-
"@types/object-hash": "^3.0.
|
|
67
|
+
"@types/node": "^20.8.7",
|
|
68
|
+
"@types/object-hash": "^3.0.5",
|
|
69
|
+
"execa": "^8.0.1",
|
|
65
70
|
"langium-cli": "^2.0.1",
|
|
66
71
|
"npm-run-all": "^4.1.5",
|
|
67
72
|
"typescript": "^5.2.2",
|
|
68
73
|
"unbuild": "^2.0.0",
|
|
69
74
|
"vitest": "^0.34.6"
|
|
70
75
|
},
|
|
71
|
-
"packageManager": "yarn@3.6.
|
|
76
|
+
"packageManager": "yarn@3.6.4",
|
|
77
|
+
"volta": {
|
|
78
|
+
"extends": "../../package.json"
|
|
79
|
+
}
|
|
72
80
|
}
|