@valbuild/language-server 0.146.4 → 0.148.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @valbuild/language-server
|
|
2
2
|
|
|
3
|
+
## 0.148.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#818](https://github.com/valbuild/val/pull/818) [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1) Thanks [@freekh](https://github.com/freekh)! - Remote files served from a project's own site (addresses like
|
|
8
|
+
`https://www.acme.no/_val/file/…`) are now checked for whether that address
|
|
9
|
+
still serves the project. When a custom domain has been removed or moved to
|
|
10
|
+
another project, the image or file is reported, and **Fix** on the Studio's
|
|
11
|
+
Validate page — or `val validate --fix` — points it at the project's permanent
|
|
12
|
+
`<id>.valstart.dev` address. Nothing is uploaded or downloaded: only the address
|
|
13
|
+
changes.
|
|
14
|
+
|
|
15
|
+
Remote file addresses with a `/_val` prefix after the host are now recognised.
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`df5544c`](https://github.com/valbuild/val/commit/df5544c6e92a4c3a52765630c9de191e854ee723), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1), [`562d032`](https://github.com/valbuild/val/commit/562d03280c3fcf97a80562e8b017dd2125ac4ad1)]:
|
|
18
|
+
- @valbuild/server@0.148.0
|
|
19
|
+
- @valbuild/shared@0.148.0
|
|
20
|
+
- @valbuild/core@0.148.0
|
|
21
|
+
|
|
22
|
+
## 0.147.0
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [[`2f09cd5`](https://github.com/valbuild/val/commit/2f09cd5e2f4fc37f06917899f24f9ad2ee8d3a8b), [`cb04e58`](https://github.com/valbuild/val/commit/cb04e586db1e3ffd20ec1fee744561b1c8f8cffd), [`cb04e58`](https://github.com/valbuild/val/commit/cb04e586db1e3ffd20ec1fee744561b1c8f8cffd)]:
|
|
27
|
+
- @valbuild/core@0.147.0
|
|
28
|
+
- @valbuild/shared@0.147.0
|
|
29
|
+
- @valbuild/server@0.147.0
|
|
30
|
+
|
|
3
31
|
## 0.146.4
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -183,7 +183,7 @@ var packageJson = {
|
|
|
183
183
|
"lsp",
|
|
184
184
|
"language-server"
|
|
185
185
|
],
|
|
186
|
-
version: "0.
|
|
186
|
+
version: "0.148.0",
|
|
187
187
|
bin: {
|
|
188
188
|
"val-language-server": "./bin.js"
|
|
189
189
|
},
|
|
@@ -2784,7 +2784,12 @@ const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-met
|
|
|
2784
2784
|
"videos:add-metadata",
|
|
2785
2785
|
// A view pointing at the wrong module: the schema names the right one, so the
|
|
2786
2786
|
// fix is a value the patch already knows. Nothing read, nothing fetched.
|
|
2787
|
-
"view:check-module"
|
|
2787
|
+
"view:check-module"
|
|
2788
|
+
// Not here, deliberately: `remote:rewrite-host`. The edit is local, but
|
|
2789
|
+
// FINDING it asks the ref's host over the network, inside `image:check-remote`'s
|
|
2790
|
+
// adjudication (`mediaChecks.ts`), whose findings carry no fixes -- so the
|
|
2791
|
+
// diagnostic says what `val validate --fix` will do, and offers no lightbulb.
|
|
2792
|
+
];
|
|
2788
2793
|
|
|
2789
2794
|
/**
|
|
2790
2795
|
* Fixes that are local, but are NOT a patch against the document they are
|
|
@@ -183,7 +183,7 @@ var packageJson = {
|
|
|
183
183
|
"lsp",
|
|
184
184
|
"language-server"
|
|
185
185
|
],
|
|
186
|
-
version: "0.
|
|
186
|
+
version: "0.148.0",
|
|
187
187
|
bin: {
|
|
188
188
|
"val-language-server": "./bin.js"
|
|
189
189
|
},
|
|
@@ -2784,7 +2784,12 @@ const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-met
|
|
|
2784
2784
|
"videos:add-metadata",
|
|
2785
2785
|
// A view pointing at the wrong module: the schema names the right one, so the
|
|
2786
2786
|
// fix is a value the patch already knows. Nothing read, nothing fetched.
|
|
2787
|
-
"view:check-module"
|
|
2787
|
+
"view:check-module"
|
|
2788
|
+
// Not here, deliberately: `remote:rewrite-host`. The edit is local, but
|
|
2789
|
+
// FINDING it asks the ref's host over the network, inside `image:check-remote`'s
|
|
2790
|
+
// adjudication (`mediaChecks.ts`), whose findings carry no fixes -- so the
|
|
2791
|
+
// diagnostic says what `val validate --fix` will do, and offers no lightbulb.
|
|
2792
|
+
];
|
|
2788
2793
|
|
|
2789
2794
|
/**
|
|
2790
2795
|
* Fixes that are local, but are NOT a patch against the document they are
|
|
@@ -172,7 +172,7 @@ var packageJson = {
|
|
|
172
172
|
"lsp",
|
|
173
173
|
"language-server"
|
|
174
174
|
],
|
|
175
|
-
version: "0.
|
|
175
|
+
version: "0.148.0",
|
|
176
176
|
bin: {
|
|
177
177
|
"val-language-server": "./bin.js"
|
|
178
178
|
},
|
|
@@ -2773,7 +2773,12 @@ const LOCAL_FIXES = ["image:add-metadata", "image:check-metadata", "file:add-met
|
|
|
2773
2773
|
"videos:add-metadata",
|
|
2774
2774
|
// A view pointing at the wrong module: the schema names the right one, so the
|
|
2775
2775
|
// fix is a value the patch already knows. Nothing read, nothing fetched.
|
|
2776
|
-
"view:check-module"
|
|
2776
|
+
"view:check-module"
|
|
2777
|
+
// Not here, deliberately: `remote:rewrite-host`. The edit is local, but
|
|
2778
|
+
// FINDING it asks the ref's host over the network, inside `image:check-remote`'s
|
|
2779
|
+
// adjudication (`mediaChecks.ts`), whose findings carry no fixes -- so the
|
|
2780
|
+
// diagnostic says what `val validate --fix` will do, and offers no lightbulb.
|
|
2781
|
+
];
|
|
2777
2782
|
|
|
2778
2783
|
/**
|
|
2779
2784
|
* Fixes that are local, but are NOT a patch against the document they are
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"lsp",
|
|
12
12
|
"language-server"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.148.0",
|
|
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/
|
|
33
|
-
"@valbuild/
|
|
34
|
-
"@valbuild/shared": "0.
|
|
32
|
+
"@valbuild/server": "0.148.0",
|
|
33
|
+
"@valbuild/core": "0.148.0",
|
|
34
|
+
"@valbuild/shared": "0.148.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/jest": "^30.0.0",
|