@ripple-ts/language-server 0.3.32 → 0.3.34
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @ripple-ts/language-server
|
|
2
2
|
|
|
3
|
+
## 0.3.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#986](https://github.com/Ripple-TS/ripple/pull/986)
|
|
8
|
+
[`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad)
|
|
9
|
+
Thanks [@leonidaz](https://github.com/leonidaz)! - Improve lazy destructuring
|
|
10
|
+
editor support for TSX targets, including typed virtual params, hover display
|
|
11
|
+
rewrites, and loose-mode diagnostics for duplicate lazy parameter names.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
[[`383feed`](https://github.com/Ripple-TS/ripple/commit/383feed84b09541c0b58992c09816b5a15c2d2d8),
|
|
15
|
+
[`cf4f06e`](https://github.com/Ripple-TS/ripple/commit/cf4f06e8bcbb41f863d047dfaa6d9d17ed212163),
|
|
16
|
+
[`fcd25aa`](https://github.com/Ripple-TS/ripple/commit/fcd25aa549db0d56ccbd596b657b856a5061e20f),
|
|
17
|
+
[`30126c7`](https://github.com/Ripple-TS/ripple/commit/30126c753c3a08809bacd07c8cf2eca84e8f8cbb),
|
|
18
|
+
[`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad),
|
|
19
|
+
[`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad),
|
|
20
|
+
[`3ddb1a9`](https://github.com/Ripple-TS/ripple/commit/3ddb1a92ffeb48a7d47c445b929b982a2b96e123),
|
|
21
|
+
[`fee8620`](https://github.com/Ripple-TS/ripple/commit/fee8620fa4e82a7c7e4adb3e434e9db552a3e157),
|
|
22
|
+
[`2fcacb4`](https://github.com/Ripple-TS/ripple/commit/2fcacb471d7780074f92b20c9b394f7650a941bb),
|
|
23
|
+
[`8e2aa8e`](https://github.com/Ripple-TS/ripple/commit/8e2aa8e75678c9ebc9b72055f4da474c82a8e834)]:
|
|
24
|
+
- @tsrx/typescript-plugin@0.3.34
|
|
25
|
+
- @tsrx/core@0.0.14
|
|
26
|
+
|
|
27
|
+
## 0.3.33
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
[[`a9f706d`](https://github.com/Ripple-TS/ripple/commit/a9f706d6626dc1a9e8505d9ea8f16989b2b024b3),
|
|
33
|
+
[`3e07109`](https://github.com/Ripple-TS/ripple/commit/3e071098508449158fa11f2ae48c912d4d673b68),
|
|
34
|
+
[`112cfd9`](https://github.com/Ripple-TS/ripple/commit/112cfd9fbfd4412efea543abc55deceb186cf351)]:
|
|
35
|
+
- @tsrx/core@0.0.13
|
|
36
|
+
- @tsrx/typescript-plugin@0.3.33
|
|
37
|
+
|
|
3
38
|
## 0.3.32
|
|
4
39
|
|
|
5
40
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ripple-ts/language-server",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"description": "Language Server Protocol implementation for Ripple",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"type": "module",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"volar-service-typescript": "0.0.70",
|
|
21
21
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
22
22
|
"vscode-uri": "^3.1.0",
|
|
23
|
-
"@tsrx/typescript-plugin": "0.3.
|
|
24
|
-
"@tsrx/core": "0.0.
|
|
23
|
+
"@tsrx/typescript-plugin": "0.3.34",
|
|
24
|
+
"@tsrx/core": "0.0.14"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"tsdown": "^0.20.3",
|
|
28
|
-
"@tsrx/ripple": "0.0.
|
|
28
|
+
"@tsrx/ripple": "0.0.16"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"typescript": "^5.9.3"
|
|
@@ -73,8 +73,8 @@ function parseCompilationErrorWithDocument(error, virtualCode, sourceMap, docume
|
|
|
73
73
|
severity: DiagnosticSeverity.Error,
|
|
74
74
|
range: get_error_range_from_source(error, document),
|
|
75
75
|
message: error.message,
|
|
76
|
-
source: '
|
|
77
|
-
code: '
|
|
76
|
+
source: 'TSRX',
|
|
77
|
+
code: 'tsrx-compile-error',
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -114,8 +114,8 @@ function parseCompilationErrorWithDocument(error, virtualCode, sourceMap, docume
|
|
|
114
114
|
severity: DiagnosticSeverity.Error,
|
|
115
115
|
range: { start, end },
|
|
116
116
|
message: error.message,
|
|
117
|
-
source: '
|
|
118
|
-
code: '
|
|
117
|
+
source: 'TSRX',
|
|
118
|
+
code: 'tsrx-usage-error',
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -45,7 +45,7 @@ function processDiagnostics(document, context, diagnostics) {
|
|
|
45
45
|
const result = [];
|
|
46
46
|
|
|
47
47
|
for (const diagnostic of diagnostics) {
|
|
48
|
-
if (virtualCode.fatalErrors.length > 0 && diagnostic.code !== '
|
|
48
|
+
if (virtualCode.fatalErrors.length > 0 && diagnostic.code !== 'tsrx-compile-error') {
|
|
49
49
|
// skip all TS diagnostics since we're dealing directly with the source code
|
|
50
50
|
continue;
|
|
51
51
|
}
|