@marko/language-server 1.0.3 → 1.0.5
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/dist/index.js +20 -16
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +20 -16
- package/dist/index.mjs.map +3 -3
- package/dist/ts-plugin/host.d.ts +2 -1
- package/dist/utils/project.d.ts +1 -1
- package/package.json +9 -10
package/dist/ts-plugin/host.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type ts from "typescript";
|
|
1
2
|
import { type Extracted, ScriptLang } from "@marko/language-tools";
|
|
2
3
|
export interface ExtractedSnapshot extends Extracted {
|
|
3
4
|
snapshot: ts.IScriptSnapshot;
|
|
4
5
|
}
|
|
5
6
|
export declare function patch(ts: typeof import("typescript/lib/tsserverlibrary"), scriptLang: ScriptLang, cache: Map<string, ExtractedSnapshot | {
|
|
6
7
|
snapshot: ts.IScriptSnapshot;
|
|
7
|
-
}>, host: ts.LanguageServiceHost):
|
|
8
|
+
}>, host: ts.LanguageServiceHost, ps?: InstanceType<typeof ts.server.ProjectService>): ts.LanguageServiceHost;
|
package/dist/utils/project.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { TaglibLookup } from "@marko/babel-utils";
|
|
|
2
2
|
import * as defaultCompiler from "@marko/compiler";
|
|
3
3
|
export type MarkoProject = {
|
|
4
4
|
cache: Map<unknown, unknown>;
|
|
5
|
-
getLookup(dir: string): TaglibLookup;
|
|
6
5
|
compiler: typeof defaultCompiler;
|
|
7
6
|
translator: any;
|
|
7
|
+
getLookup(dir: string): TaglibLookup;
|
|
8
8
|
};
|
|
9
9
|
export declare function getMarkoProject(dir?: string): MarkoProject;
|
|
10
10
|
export declare function getMarkoProjects(): IterableIterator<MarkoProject>;
|
package/package.json
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/language-server",
|
|
3
3
|
"description": "Marko Language Server",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"bin": {
|
|
6
6
|
"marko-language-server": "./bin.js"
|
|
7
7
|
},
|
|
8
8
|
"bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@babel/helper-validator-identifier": "^7.19.1",
|
|
11
|
-
"@marko/language-tools": "^1.0.
|
|
11
|
+
"@marko/language-tools": "^1.0.2",
|
|
12
12
|
"@marko/babel-utils": "^5.21.4",
|
|
13
|
-
"@marko/compiler": "^5.
|
|
14
|
-
"@marko/translator-default": "^5.
|
|
15
|
-
"htmljs-parser": "^5.4.
|
|
16
|
-
"marko": "^5.
|
|
13
|
+
"@marko/compiler": "^5.27.1",
|
|
14
|
+
"@marko/translator-default": "^5.25.1",
|
|
15
|
+
"htmljs-parser": "^5.4.3",
|
|
16
|
+
"marko": "^5.25.1",
|
|
17
17
|
"prettier": "^2.8.4",
|
|
18
|
-
"prettier-plugin-marko": "^1.
|
|
18
|
+
"prettier-plugin-marko": "^1.4.1",
|
|
19
19
|
"relative-import-path": "^1.0.0",
|
|
20
|
-
"
|
|
21
|
-
"typescript": "^4.9.5",
|
|
20
|
+
"typescript": "^5.0.2",
|
|
22
21
|
"vscode-css-languageservice": "^6.2.4",
|
|
23
22
|
"vscode-languageserver": "^8.1.0",
|
|
24
23
|
"vscode-languageserver-textdocument": "^1.0.8",
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
27
|
"@types/prettier": "^2.7.2",
|
|
29
|
-
"tsx": "^3.12.
|
|
28
|
+
"tsx": "^3.12.5"
|
|
30
29
|
},
|
|
31
30
|
"exports": {
|
|
32
31
|
".": {
|