@valbuild/language-server 0.133.0 → 0.134.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @valbuild/language-server
|
|
2
2
|
|
|
3
|
+
## 0.134.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`821e789`](https://github.com/valbuild/val/commit/821e789c1af47510af5d23eb96384ff78ddd7646)]:
|
|
8
|
+
- @valbuild/shared@0.134.1
|
|
9
|
+
- @valbuild/server@0.134.1
|
|
10
|
+
|
|
11
|
+
## 0.134.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`be78a9b`](https://github.com/valbuild/val/commit/be78a9b51678439f7ecb1c7f3887f9e8e1261a13), [`16c49ea`](https://github.com/valbuild/val/commit/16c49ea6dd97c7a96bbfdf211af9bab5884579e2), [`eaa265e`](https://github.com/valbuild/val/commit/eaa265e78d9f6d2a1b685c38901612b8a3704eed)]:
|
|
16
|
+
- @valbuild/server@0.134.0
|
|
17
|
+
- @valbuild/core@0.134.0
|
|
18
|
+
- @valbuild/shared@0.134.0
|
|
19
|
+
|
|
3
20
|
## 0.133.0
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -183,7 +183,7 @@ var packageJson = {
|
|
|
183
183
|
"lsp",
|
|
184
184
|
"language-server"
|
|
185
185
|
],
|
|
186
|
-
version: "0.
|
|
186
|
+
version: "0.134.1",
|
|
187
187
|
bin: {
|
|
188
188
|
"val-language-server": "./bin.js"
|
|
189
189
|
},
|
|
@@ -2612,7 +2612,10 @@ function supportsResourceOperation(capabilities, operation) {
|
|
|
2612
2612
|
const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-metadata", "file:check-metadata",
|
|
2613
2613
|
// Gallery metadata: createFixPatch reads each entry's file and corrects the
|
|
2614
2614
|
// stored metadata, dropping entries whose file has gone. Filesystem only.
|
|
2615
|
-
"images:check-all-files", "files:check-all-files"
|
|
2615
|
+
"images:check-all-files", "files:check-all-files",
|
|
2616
|
+
// A view pointing at the wrong module: the schema names the right one, so the
|
|
2617
|
+
// fix is a value the patch already knows. Nothing read, nothing fetched.
|
|
2618
|
+
"view:check-module"];
|
|
2616
2619
|
|
|
2617
2620
|
/**
|
|
2618
2621
|
* Fixes that are local, but are NOT a patch against the document they are
|
|
@@ -2634,7 +2637,8 @@ const FIX_TITLES = {
|
|
|
2634
2637
|
"file:check-metadata": "Val: update file metadata",
|
|
2635
2638
|
"images:check-all-files": "Val: update gallery image metadata",
|
|
2636
2639
|
"files:check-all-files": "Val: update gallery file metadata",
|
|
2637
|
-
"jsonValues:extract-entry": "Val: move entry into its own .val.json"
|
|
2640
|
+
"jsonValues:extract-entry": "Val: move entry into its own .val.json",
|
|
2641
|
+
"view:check-module": "Val: point this view at the module its schema names"
|
|
2638
2642
|
};
|
|
2639
2643
|
function isLocalFix(fix) {
|
|
2640
2644
|
return LOCAL_FIXES.includes(fix);
|
|
@@ -183,7 +183,7 @@ var packageJson = {
|
|
|
183
183
|
"lsp",
|
|
184
184
|
"language-server"
|
|
185
185
|
],
|
|
186
|
-
version: "0.
|
|
186
|
+
version: "0.134.1",
|
|
187
187
|
bin: {
|
|
188
188
|
"val-language-server": "./bin.js"
|
|
189
189
|
},
|
|
@@ -2612,7 +2612,10 @@ function supportsResourceOperation(capabilities, operation) {
|
|
|
2612
2612
|
const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-metadata", "file:check-metadata",
|
|
2613
2613
|
// Gallery metadata: createFixPatch reads each entry's file and corrects the
|
|
2614
2614
|
// stored metadata, dropping entries whose file has gone. Filesystem only.
|
|
2615
|
-
"images:check-all-files", "files:check-all-files"
|
|
2615
|
+
"images:check-all-files", "files:check-all-files",
|
|
2616
|
+
// A view pointing at the wrong module: the schema names the right one, so the
|
|
2617
|
+
// fix is a value the patch already knows. Nothing read, nothing fetched.
|
|
2618
|
+
"view:check-module"];
|
|
2616
2619
|
|
|
2617
2620
|
/**
|
|
2618
2621
|
* Fixes that are local, but are NOT a patch against the document they are
|
|
@@ -2634,7 +2637,8 @@ const FIX_TITLES = {
|
|
|
2634
2637
|
"file:check-metadata": "Val: update file metadata",
|
|
2635
2638
|
"images:check-all-files": "Val: update gallery image metadata",
|
|
2636
2639
|
"files:check-all-files": "Val: update gallery file metadata",
|
|
2637
|
-
"jsonValues:extract-entry": "Val: move entry into its own .val.json"
|
|
2640
|
+
"jsonValues:extract-entry": "Val: move entry into its own .val.json",
|
|
2641
|
+
"view:check-module": "Val: point this view at the module its schema names"
|
|
2638
2642
|
};
|
|
2639
2643
|
function isLocalFix(fix) {
|
|
2640
2644
|
return LOCAL_FIXES.includes(fix);
|
|
@@ -172,7 +172,7 @@ var packageJson = {
|
|
|
172
172
|
"lsp",
|
|
173
173
|
"language-server"
|
|
174
174
|
],
|
|
175
|
-
version: "0.
|
|
175
|
+
version: "0.134.1",
|
|
176
176
|
bin: {
|
|
177
177
|
"val-language-server": "./bin.js"
|
|
178
178
|
},
|
|
@@ -2601,7 +2601,10 @@ function supportsResourceOperation(capabilities, operation) {
|
|
|
2601
2601
|
const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-metadata", "file:check-metadata",
|
|
2602
2602
|
// Gallery metadata: createFixPatch reads each entry's file and corrects the
|
|
2603
2603
|
// stored metadata, dropping entries whose file has gone. Filesystem only.
|
|
2604
|
-
"images:check-all-files", "files:check-all-files"
|
|
2604
|
+
"images:check-all-files", "files:check-all-files",
|
|
2605
|
+
// A view pointing at the wrong module: the schema names the right one, so the
|
|
2606
|
+
// fix is a value the patch already knows. Nothing read, nothing fetched.
|
|
2607
|
+
"view:check-module"];
|
|
2605
2608
|
|
|
2606
2609
|
/**
|
|
2607
2610
|
* Fixes that are local, but are NOT a patch against the document they are
|
|
@@ -2623,7 +2626,8 @@ const FIX_TITLES = {
|
|
|
2623
2626
|
"file:check-metadata": "Val: update file metadata",
|
|
2624
2627
|
"images:check-all-files": "Val: update gallery image metadata",
|
|
2625
2628
|
"files:check-all-files": "Val: update gallery file metadata",
|
|
2626
|
-
"jsonValues:extract-entry": "Val: move entry into its own .val.json"
|
|
2629
|
+
"jsonValues:extract-entry": "Val: move entry into its own .val.json",
|
|
2630
|
+
"view:check-module": "Val: point this view at the module its schema names"
|
|
2627
2631
|
};
|
|
2628
2632
|
function isLocalFix(fix) {
|
|
2629
2633
|
return LOCAL_FIXES.includes(fix);
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"lsp",
|
|
12
12
|
"language-server"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.134.1",
|
|
15
15
|
"bin": {
|
|
16
16
|
"val-language-server": "./bin.js"
|
|
17
17
|
},
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"typescript": "^6.0.3",
|
|
30
30
|
"vscode-languageserver": "^10.1.0",
|
|
31
31
|
"vscode-languageserver-textdocument": "^1.0.14",
|
|
32
|
-
"@valbuild/core": "0.
|
|
33
|
-
"@valbuild/server": "0.
|
|
34
|
-
"@valbuild/shared": "0.
|
|
32
|
+
"@valbuild/core": "0.134.0",
|
|
33
|
+
"@valbuild/server": "0.134.1",
|
|
34
|
+
"@valbuild/shared": "0.134.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/jest": "^30.0.0",
|