@lapis-notes/language-service 0.1.0 → 0.1.2
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 +45 -2
- package/LICENSE.md +3 -3
- package/README.md +3 -1
- package/dist/markdown.js +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,51 @@
|
|
|
1
1
|
# @lapis-notes/language-service
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Republish the language service so the released package matches the Apache-2.0
|
|
8
|
+
source and the Markdownlint diagnostics that landed after 0.1.1.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
[[`bdd4923`](https://github.com/lapismd/lapis-notes/commit/bdd492357135de2cc0175fa42413709b2a38cd63),
|
|
11
|
+
[`86e85f6`](https://github.com/lapismd/lapis-notes/commit/86e85f6e814430c1755147c913eb91090a439bf4),
|
|
12
|
+
[`631aeec`](https://github.com/lapismd/lapis-notes/commit/631aeec539e2fb061dc80c5c3a30a248ee15c529),
|
|
13
|
+
[`fdee7e4`](https://github.com/lapismd/lapis-notes/commit/fdee7e4defde17a1009e16138d78c93c3ead8e2f),
|
|
14
|
+
[`a91d5e2`](https://github.com/lapismd/lapis-notes/commit/a91d5e2eb5ec037029f6a7a2df316a9bd9440af7),
|
|
15
|
+
[`fbba8d4`](https://github.com/lapismd/lapis-notes/commit/fbba8d48498c34939fec475e6bed67a682045820),
|
|
16
|
+
[`d8946b9`](https://github.com/lapismd/lapis-notes/commit/d8946b941569484b813eb0c1e8b1c5729fffc1a7),
|
|
17
|
+
[`ebf033a`](https://github.com/lapismd/lapis-notes/commit/ebf033af0fc0752be5ce5ffa7d55784163d291b4),
|
|
18
|
+
[`023259d`](https://github.com/lapismd/lapis-notes/commit/023259d96d4ff0414fec6427924ed917f89405a3),
|
|
19
|
+
[`63a5e7f`](https://github.com/lapismd/lapis-notes/commit/63a5e7fe40eea45762b5842b588c742076c7dd1d),
|
|
20
|
+
[`2bffe48`](https://github.com/lapismd/lapis-notes/commit/2bffe484b38761af197afe7ab9b0d7b3affb50d7),
|
|
21
|
+
[`86f6316`](https://github.com/lapismd/lapis-notes/commit/86f63166c3d5be648c595ef4e230ea6c4081bc48),
|
|
22
|
+
[`edf1d76`](https://github.com/lapismd/lapis-notes/commit/edf1d76f4f3aa0442c1d9153d812f29b7d14e5c2),
|
|
23
|
+
[`b3be91d`](https://github.com/lapismd/lapis-notes/commit/b3be91daecbd43187bacf8cfdc39f8311d700720),
|
|
24
|
+
[`5ef0a63`](https://github.com/lapismd/lapis-notes/commit/5ef0a6331c1b846b70357f990d919977a561112c),
|
|
25
|
+
[`bac3e5e`](https://github.com/lapismd/lapis-notes/commit/bac3e5eda6f467dbc86ec88c9f27a275f2b27953),
|
|
26
|
+
[`978b987`](https://github.com/lapismd/lapis-notes/commit/978b987ba4c95408a63e49fad11bc44bab020758),
|
|
27
|
+
[`ad4490c`](https://github.com/lapismd/lapis-notes/commit/ad4490ca1cd808002765582a17a5c81fa5335e0d),
|
|
28
|
+
[`74f544e`](https://github.com/lapismd/lapis-notes/commit/74f544e2aa8a967524c0c218f3db7e1a495a1a17),
|
|
29
|
+
[`55be8dc`](https://github.com/lapismd/lapis-notes/commit/55be8dce6f7b19b0e8036be86a3cf5305db25317),
|
|
30
|
+
[`501c50e`](https://github.com/lapismd/lapis-notes/commit/501c50e049264560e13e29c75a74c089922c7297),
|
|
31
|
+
[`98b333f`](https://github.com/lapismd/lapis-notes/commit/98b333f73ff5ba8d5f28c52e4e3a2ceaa5ade0fb),
|
|
32
|
+
[`535a6cc`](https://github.com/lapismd/lapis-notes/commit/535a6cc7b39f397cf8761a06db7b831386121928),
|
|
33
|
+
[`8a27bc3`](https://github.com/lapismd/lapis-notes/commit/8a27bc36a7a7fa81594e517908a6f5ed8ca77313),
|
|
34
|
+
[`109e208`](https://github.com/lapismd/lapis-notes/commit/109e208a63253dcc1a7abad3fd5a9b13c39d3def),
|
|
35
|
+
[`1e64589`](https://github.com/lapismd/lapis-notes/commit/1e6458922b486c07f36a5bc7d85d020b5805cd49),
|
|
36
|
+
[`f828eae`](https://github.com/lapismd/lapis-notes/commit/f828eaeba8411aa342d7ab4954393e84612af2f3)]:
|
|
37
|
+
- @lapis-notes/api@0.2.0
|
|
38
|
+
|
|
39
|
+
## 0.1.1
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Load the Markdownlint worker through a standards-based emitted module-worker
|
|
44
|
+
URL so packed Vite consumers do not depend on source-only query transforms.
|
|
45
|
+
|
|
3
46
|
## 0.1.0
|
|
4
47
|
|
|
5
48
|
### Minor Changes
|
|
6
49
|
|
|
7
|
-
- First public npm release of the provider-neutral Markdown language-service
|
|
8
|
-
|
|
50
|
+
- First public npm release of the provider-neutral Markdown language-service and
|
|
51
|
+
native Markdownlint runtime contracts.
|
package/LICENSE.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Apache-2.0
|
|
2
2
|
|
|
3
|
-
This package is licensed under the
|
|
4
|
-
See <https://www.
|
|
3
|
+
This package is licensed under the Apache License 2.0.
|
|
4
|
+
See <https://www.apache.org/licenses/LICENSE-2.0>.
|
package/README.md
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
Provider-neutral Markdown language services for Lapis applications.
|
|
4
4
|
|
|
5
5
|
The package exposes browser-worker and native-host adapters without owning
|
|
6
|
-
workspace presentation, vault navigation, or application policy.
|
|
6
|
+
workspace presentation, vault navigation, or application policy. Its browser
|
|
7
|
+
provider loads the emitted worker through the standard module-worker URL form,
|
|
8
|
+
so installed package consumers do not require a Vite-specific worker import.
|
|
7
9
|
|
|
8
10
|
## Public surface
|
|
9
11
|
|
package/dist/markdown.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference path="./vite-env.d.ts" />
|
|
2
1
|
import { LanguageServiceWorkerClient } from "@lapis-notes/api/language-service/worker";
|
|
3
|
-
import MarkdownLintWorker from "./workers/markdownlint.worker.js?worker&inline";
|
|
4
2
|
const DESKTOP_LANGUAGE_SERVICE_PROTOCOL_VERSION = 1;
|
|
5
3
|
function resolveMarkdownRules(options) {
|
|
6
4
|
return options.getRules?.() ?? options.rules;
|
|
7
5
|
}
|
|
8
6
|
export function createMarkdownLanguageServiceProvider(options = {}) {
|
|
9
|
-
const client = new LanguageServiceWorkerClient(new
|
|
7
|
+
const client = new LanguageServiceWorkerClient(new Worker(new URL("./workers/markdownlint.worker.js", import.meta.url), {
|
|
8
|
+
type: "module",
|
|
9
|
+
}));
|
|
10
10
|
return {
|
|
11
11
|
metadata: {
|
|
12
12
|
id: "markdownlint-worker",
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lapis-notes/language-service",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Provider-neutral Markdown language services for Lapis applications",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/lapismd/lapis-notes.git",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@lapis-notes/api": "^0.
|
|
52
|
+
"@lapis-notes/api": "^0.2.0",
|
|
53
53
|
"character-entities": "^2.0.2",
|
|
54
54
|
"markdownlint": "^0.40.0"
|
|
55
55
|
},
|