@volar/language-server 1.9.0 → 1.9.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/out/common/project.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface ProjectContext extends WorkspaceContext {
|
|
|
13
13
|
export type Project = ReturnType<typeof createProject>;
|
|
14
14
|
export declare function createProject(context: ProjectContext): Promise<{
|
|
15
15
|
context: ProjectContext;
|
|
16
|
-
tsConfig:
|
|
16
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
17
17
|
languageHost: TypeScriptLanguageHost;
|
|
18
18
|
getLanguageService: () => {
|
|
19
19
|
getTriggerCharacters: () => string[];
|
|
@@ -14,7 +14,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
14
14
|
clear: () => void;
|
|
15
15
|
values: () => IterableIterator<Promise<{
|
|
16
16
|
context: import("./project").ProjectContext;
|
|
17
|
-
tsConfig:
|
|
17
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
18
18
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
19
19
|
getLanguageService: () => {
|
|
20
20
|
getTriggerCharacters: () => string[];
|
|
@@ -141,7 +141,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
141
141
|
uriDelete: (_uri: string) => boolean;
|
|
142
142
|
uriGet: (_uri: string) => Promise<{
|
|
143
143
|
context: import("./project").ProjectContext;
|
|
144
|
-
tsConfig:
|
|
144
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
145
145
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
146
146
|
getLanguageService: () => {
|
|
147
147
|
getTriggerCharacters: () => string[];
|
|
@@ -268,7 +268,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
268
268
|
uriHas: (_uri: string) => boolean;
|
|
269
269
|
uriSet: (_uri: string, item: Promise<{
|
|
270
270
|
context: import("./project").ProjectContext;
|
|
271
|
-
tsConfig:
|
|
271
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
272
272
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
273
273
|
getLanguageService: () => {
|
|
274
274
|
getTriggerCharacters: () => string[];
|
|
@@ -395,7 +395,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
395
395
|
pathDelete: (path: string) => boolean;
|
|
396
396
|
pathGet: (path: string) => Promise<{
|
|
397
397
|
context: import("./project").ProjectContext;
|
|
398
|
-
tsConfig:
|
|
398
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
399
399
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
400
400
|
getLanguageService: () => {
|
|
401
401
|
getTriggerCharacters: () => string[];
|
|
@@ -521,7 +521,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
521
521
|
}> | undefined;
|
|
522
522
|
pathHas: (path: string) => Promise<{
|
|
523
523
|
context: import("./project").ProjectContext;
|
|
524
|
-
tsConfig:
|
|
524
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
525
525
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
526
526
|
getLanguageService: () => {
|
|
527
527
|
getTriggerCharacters: () => string[];
|
|
@@ -647,7 +647,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
647
647
|
}> | undefined;
|
|
648
648
|
pathSet: (path: string, item: Promise<{
|
|
649
649
|
context: import("./project").ProjectContext;
|
|
650
|
-
tsConfig:
|
|
650
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
651
651
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
652
652
|
getLanguageService: () => {
|
|
653
653
|
getTriggerCharacters: () => string[];
|
|
@@ -776,7 +776,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
776
776
|
tsconfig: string;
|
|
777
777
|
project: {
|
|
778
778
|
context: import("./project").ProjectContext;
|
|
779
|
-
tsConfig:
|
|
779
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
780
780
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
781
781
|
getLanguageService: () => {
|
|
782
782
|
getTriggerCharacters: () => string[];
|
|
@@ -903,7 +903,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
903
903
|
} | undefined>;
|
|
904
904
|
getInferredProject: () => Promise<{
|
|
905
905
|
context: import("./project").ProjectContext;
|
|
906
|
-
tsConfig:
|
|
906
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
907
907
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
908
908
|
getLanguageService: () => {
|
|
909
909
|
getTriggerCharacters: () => string[];
|
|
@@ -1029,7 +1029,7 @@ export declare function createWorkspace(context: WorkspaceContext): Promise<{
|
|
|
1029
1029
|
}>;
|
|
1030
1030
|
getInferredProjectDontCreate: () => Promise<{
|
|
1031
1031
|
context: import("./project").ProjectContext;
|
|
1032
|
-
tsConfig:
|
|
1032
|
+
tsConfig: ts.CompilerOptions | path.PosixPath;
|
|
1033
1033
|
languageHost: import("@volar/language-service").TypeScriptLanguageHost;
|
|
1034
1034
|
getLanguageService: () => {
|
|
1035
1035
|
getTriggerCharacters: () => string[];
|
|
@@ -25,7 +25,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
25
25
|
clear: () => void;
|
|
26
26
|
values: () => IterableIterator<Promise<{
|
|
27
27
|
context: import("./project").ProjectContext;
|
|
28
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
28
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
29
29
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
30
30
|
getLanguageService: () => {
|
|
31
31
|
getTriggerCharacters: () => string[];
|
|
@@ -152,7 +152,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
152
152
|
uriDelete: (_uri: string) => boolean;
|
|
153
153
|
uriGet: (_uri: string) => Promise<{
|
|
154
154
|
context: import("./project").ProjectContext;
|
|
155
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
155
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
156
156
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
157
157
|
getLanguageService: () => {
|
|
158
158
|
getTriggerCharacters: () => string[];
|
|
@@ -279,7 +279,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
279
279
|
uriHas: (_uri: string) => boolean;
|
|
280
280
|
uriSet: (_uri: string, item: Promise<{
|
|
281
281
|
context: import("./project").ProjectContext;
|
|
282
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
282
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
283
283
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
284
284
|
getLanguageService: () => {
|
|
285
285
|
getTriggerCharacters: () => string[];
|
|
@@ -406,7 +406,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
406
406
|
pathDelete: (path: string) => boolean;
|
|
407
407
|
pathGet: (path: string) => Promise<{
|
|
408
408
|
context: import("./project").ProjectContext;
|
|
409
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
409
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
410
410
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
411
411
|
getLanguageService: () => {
|
|
412
412
|
getTriggerCharacters: () => string[];
|
|
@@ -532,7 +532,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
532
532
|
}> | undefined;
|
|
533
533
|
pathHas: (path: string) => Promise<{
|
|
534
534
|
context: import("./project").ProjectContext;
|
|
535
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
535
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
536
536
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
537
537
|
getLanguageService: () => {
|
|
538
538
|
getTriggerCharacters: () => string[];
|
|
@@ -658,7 +658,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
658
658
|
}> | undefined;
|
|
659
659
|
pathSet: (path: string, item: Promise<{
|
|
660
660
|
context: import("./project").ProjectContext;
|
|
661
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
661
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
662
662
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
663
663
|
getLanguageService: () => {
|
|
664
664
|
getTriggerCharacters: () => string[];
|
|
@@ -787,7 +787,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
787
787
|
tsconfig: string;
|
|
788
788
|
project: {
|
|
789
789
|
context: import("./project").ProjectContext;
|
|
790
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
790
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
791
791
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
792
792
|
getLanguageService: () => {
|
|
793
793
|
getTriggerCharacters: () => string[];
|
|
@@ -914,7 +914,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
914
914
|
} | undefined>;
|
|
915
915
|
getInferredProject: () => Promise<{
|
|
916
916
|
context: import("./project").ProjectContext;
|
|
917
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
917
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
918
918
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
919
919
|
getLanguageService: () => {
|
|
920
920
|
getTriggerCharacters: () => string[];
|
|
@@ -1040,7 +1040,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1040
1040
|
}>;
|
|
1041
1041
|
getInferredProjectDontCreate: () => Promise<{
|
|
1042
1042
|
context: import("./project").ProjectContext;
|
|
1043
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
1043
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
1044
1044
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
1045
1045
|
getLanguageService: () => {
|
|
1046
1046
|
getTriggerCharacters: () => string[];
|
|
@@ -1171,7 +1171,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1171
1171
|
tsconfig: string;
|
|
1172
1172
|
project: {
|
|
1173
1173
|
context: import("./project").ProjectContext;
|
|
1174
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
1174
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
1175
1175
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
1176
1176
|
getLanguageService: () => {
|
|
1177
1177
|
getTriggerCharacters: () => string[];
|
|
@@ -1299,7 +1299,7 @@ export declare function createWorkspaces(context: WorkspacesContext): {
|
|
|
1299
1299
|
tsconfig: undefined;
|
|
1300
1300
|
project: {
|
|
1301
1301
|
context: import("./project").ProjectContext;
|
|
1302
|
-
tsConfig: import("typesafe-path/posix").PosixPath
|
|
1302
|
+
tsConfig: ts.CompilerOptions | import("typesafe-path/posix").PosixPath;
|
|
1303
1303
|
languageHost: import("@volar/language-core").TypeScriptLanguageHost;
|
|
1304
1304
|
getLanguageService: () => {
|
|
1305
1305
|
getTriggerCharacters: () => string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/language-server",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"directory": "packages/language-server"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@volar/language-core": "1.9.
|
|
19
|
-
"@volar/language-service": "1.9.
|
|
20
|
-
"@volar/typescript": "1.9.
|
|
18
|
+
"@volar/language-core": "1.9.1",
|
|
19
|
+
"@volar/language-service": "1.9.1",
|
|
20
|
+
"@volar/typescript": "1.9.1",
|
|
21
21
|
"@vscode/l10n": "^0.0.11",
|
|
22
22
|
"request-light": "^0.7.0",
|
|
23
23
|
"typesafe-path": "^0.2.2",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"vscode-uri": "^3.0.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@volar/source-map": "1.9.
|
|
30
|
+
"@volar/source-map": "1.9.1"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "68f064d587ef230b2f8a90157b1f7133b33f1d33"
|
|
33
33
|
}
|