volar-service-typescript 0.0.13 → 0.0.15
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/LICENSE +21 -0
- package/README.md +25 -0
- package/out/configs/getFormatCodeSettings.d.ts +1 -0
- package/out/configs/getUserPreferences.d.ts +1 -0
- package/out/features/callHierarchy.d.ts +1 -0
- package/out/features/callHierarchy.js +2 -25
- package/out/features/codeAction.d.ts +1 -0
- package/out/features/codeAction.js +1 -24
- package/out/features/codeActionResolve.d.ts +1 -0
- package/out/features/completions/basic.d.ts +1 -0
- package/out/features/completions/basic.js +2 -25
- package/out/features/completions/directiveComment.d.ts +1 -0
- package/out/features/completions/directiveComment.js +1 -24
- package/out/features/completions/jsDoc.d.ts +1 -0
- package/out/features/completions/jsDoc.js +1 -24
- package/out/features/completions/resolve.d.ts +1 -0
- package/out/features/completions/resolve.js +1 -24
- package/out/features/definition.d.ts +1 -0
- package/out/features/diagnostics.d.ts +1 -0
- package/out/features/documentHighlight.d.ts +1 -0
- package/out/features/documentSymbol.d.ts +1 -0
- package/out/features/documentSymbol.js +1 -24
- package/out/features/fileReferences.d.ts +1 -0
- package/out/features/fileRename.d.ts +1 -0
- package/out/features/foldingRanges.d.ts +1 -0
- package/out/features/formatting.d.ts +1 -0
- package/out/features/hover.d.ts +1 -0
- package/out/features/hover.js +1 -24
- package/out/features/implementation.d.ts +1 -0
- package/out/features/inlayHints.d.ts +1 -0
- package/out/features/prepareRename.d.ts +1 -0
- package/out/features/references.d.ts +1 -0
- package/out/features/rename.d.ts +1 -0
- package/out/features/selectionRanges.d.ts +1 -0
- package/out/features/semanticTokens.d.ts +1 -0
- package/out/features/signatureHelp.d.ts +1 -0
- package/out/features/typeDefinition.d.ts +1 -0
- package/out/features/workspaceSymbol.d.ts +1 -0
- package/out/features/workspaceSymbol.js +1 -24
- package/out/index.d.ts +1 -0
- package/out/index.js +28 -40
- package/out/protocol.const.d.ts +1 -0
- package/out/shared.d.ts +1 -0
- package/out/types.d.ts +1 -0
- package/out/utils/errorCodes.d.ts +1 -0
- package/out/utils/fixNames.d.ts +1 -0
- package/out/utils/modifiers.d.ts +1 -0
- package/out/utils/previewer.d.ts +1 -0
- package/out/utils/snippetForFunctionCall.d.ts +1 -0
- package/out/utils/snippetForFunctionCall.js +1 -24
- package/out/utils/transforms.d.ts +1 -0
- package/out/utils/typeConverters.d.ts +2 -1
- package/out/utils/typeConverters.js +1 -24
- package/package.json +18 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022-present Johnson Chu
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# volar-service-typescript
|
|
2
|
+
|
|
3
|
+
Volar plugin for [TypeScript](https://www.typescriptlang.org/).
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install volar-service-typescript
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
`volar.config.js`
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
module.exports = {
|
|
17
|
+
services: [
|
|
18
|
+
require('volar-service-typescript').create(),
|
|
19
|
+
],
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## License
|
|
24
|
+
|
|
25
|
+
[MIT](LICENSE) © [Johnson Chu](https://github.com/johnsoncodehk)
|
|
@@ -3,3 +3,4 @@ import type * as ts from 'typescript/lib/tsserverlibrary';
|
|
|
3
3
|
import type { FormattingOptions } from '@volar/language-service';
|
|
4
4
|
import type { TextDocument } from 'vscode-languageserver-textdocument';
|
|
5
5
|
export declare function getFormatCodeSettings(ctx: SharedContext, document: TextDocument, options?: FormattingOptions): Promise<ts.FormatCodeSettings>;
|
|
6
|
+
//# sourceMappingURL=getFormatCodeSettings.d.ts.map
|
|
@@ -2,3 +2,4 @@ import type * as ts from 'typescript/lib/tsserverlibrary';
|
|
|
2
2
|
import { SharedContext } from '../types';
|
|
3
3
|
import type { TextDocument } from 'vscode-languageserver-textdocument';
|
|
4
4
|
export declare function getUserPreferences(ctx: SharedContext, document: TextDocument): Promise<ts.UserPreferences>;
|
|
5
|
+
//# sourceMappingURL=getUserPreferences.d.ts.map
|
|
@@ -5,3 +5,4 @@ export declare function register(ctx: SharedContext): {
|
|
|
5
5
|
getIncomingCalls: (item: vscode.CallHierarchyItem) => vscode.CallHierarchyIncomingCall[];
|
|
6
6
|
getOutgoingCalls: (item: vscode.CallHierarchyItem) => vscode.CallHierarchyOutgoingCall[];
|
|
7
7
|
};
|
|
8
|
+
//# sourceMappingURL=callHierarchy.d.ts.map
|
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
|
-
const PConst =
|
|
4
|
+
const PConst = require("../protocol.const");
|
|
28
5
|
const modifiers_1 = require("../utils/modifiers");
|
|
29
|
-
const typeConverters =
|
|
6
|
+
const typeConverters = require("../utils/typeConverters");
|
|
30
7
|
const path_1 = require("path");
|
|
31
8
|
const shared_1 = require("../shared");
|
|
32
9
|
function register(ctx) {
|
|
@@ -24,3 +24,4 @@ export interface OrganizeImportsData {
|
|
|
24
24
|
}
|
|
25
25
|
export type Data = FixAllData | RefactorData | OrganizeImportsData;
|
|
26
26
|
export declare function register(ctx: SharedContext): (uri: string, range: vscode.Range, context: vscode.CodeActionContext) => Promise<vscode.CodeAction[] | undefined>;
|
|
27
|
+
//# sourceMappingURL=codeAction.d.ts.map
|
|
@@ -1,31 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
4
|
const rename_1 = require("./rename");
|
|
28
|
-
const fixNames =
|
|
5
|
+
const fixNames = require("../utils/fixNames");
|
|
29
6
|
const getFormatCodeSettings_1 = require("../configs/getFormatCodeSettings");
|
|
30
7
|
const getUserPreferences_1 = require("../configs/getUserPreferences");
|
|
31
8
|
const shared_1 = require("../shared");
|
|
@@ -7,3 +7,4 @@ export declare function register(ctx: SharedContext): (codeAction: vscode.CodeAc
|
|
|
7
7
|
export declare function resolveFixAllCodeAction(ctx: SharedContext, codeAction: vscode.CodeAction, data: FixAllData, formatOptions: ts.FormatCodeSettings, preferences: ts.UserPreferences): void;
|
|
8
8
|
export declare function resolveRefactorCodeAction(ctx: SharedContext, codeAction: vscode.CodeAction, data: RefactorData, document: TextDocument, formatOptions: ts.FormatCodeSettings, preferences: ts.UserPreferences): void;
|
|
9
9
|
export declare function resolveOrganizeImportsCodeAction(ctx: SharedContext, codeAction: vscode.CodeAction, data: Data, formatOptions: ts.FormatCodeSettings, preferences: ts.UserPreferences): void;
|
|
10
|
+
//# sourceMappingURL=codeActionResolve.d.ts.map
|
|
@@ -14,3 +14,4 @@ export interface Data {
|
|
|
14
14
|
}
|
|
15
15
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position, options?: ts.GetCompletionsAtPositionOptions | undefined) => Promise<vscode.CompletionList | undefined>;
|
|
16
16
|
export declare function handleKindModifiers(item: vscode.CompletionItem, tsEntry: ts.CompletionEntry | ts.CompletionEntryDetails): void;
|
|
17
|
+
//# sourceMappingURL=basic.d.ts.map
|
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.handleKindModifiers = exports.register = void 0;
|
|
27
|
-
const semver =
|
|
4
|
+
const semver = require("semver");
|
|
28
5
|
const getUserPreferences_1 = require("../../configs/getUserPreferences");
|
|
29
|
-
const PConst =
|
|
6
|
+
const PConst = require("../../protocol.const");
|
|
30
7
|
const modifiers_1 = require("../../utils/modifiers");
|
|
31
8
|
const shared_1 = require("../../shared");
|
|
32
9
|
function register(ctx) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type * as vscode from '@volar/language-service';
|
|
2
2
|
import { SharedContext } from '../../types';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position) => vscode.CompletionItem[] | undefined;
|
|
4
|
+
//# sourceMappingURL=directiveComment.d.ts.map
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
|
-
const nls =
|
|
4
|
+
const nls = require("vscode-nls");
|
|
28
5
|
const localize = nls.loadMessageBundle(); // TODO: not working
|
|
29
6
|
const directives = [
|
|
30
7
|
{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SharedContext } from '../../types';
|
|
2
2
|
import type * as vscode from '@volar/language-service';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position) => vscode.CompletionItem | undefined;
|
|
4
|
+
//# sourceMappingURL=jsDoc.d.ts.map
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
|
-
const nls =
|
|
4
|
+
const nls = require("vscode-nls");
|
|
28
5
|
const resolve_1 = require("./resolve");
|
|
29
6
|
const localize = nls.loadMessageBundle(); // TODO: not working
|
|
30
7
|
const defaultJsDoc = `/**\n * $0\n */`;
|
|
@@ -3,3 +3,4 @@ import type * as vscode from '@volar/language-service';
|
|
|
3
3
|
import type { TextDocument } from 'vscode-languageserver-textdocument';
|
|
4
4
|
export declare function register(ctx: SharedContext): (item: vscode.CompletionItem, newPosition?: vscode.Position) => Promise<vscode.CompletionItem>;
|
|
5
5
|
export declare function getLineText(document: TextDocument, line: number): string;
|
|
6
|
+
//# sourceMappingURL=resolve.d.ts.map
|
|
@@ -1,33 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.getLineText = exports.register = void 0;
|
|
27
4
|
const getFormatCodeSettings_1 = require("../../configs/getFormatCodeSettings");
|
|
28
5
|
const getUserPreferences_1 = require("../../configs/getUserPreferences");
|
|
29
6
|
const shared_1 = require("../../shared");
|
|
30
|
-
const previewer =
|
|
7
|
+
const previewer = require("../../utils/previewer");
|
|
31
8
|
const snippetForFunctionCall_1 = require("../../utils/snippetForFunctionCall");
|
|
32
9
|
const transforms_1 = require("../../utils/transforms");
|
|
33
10
|
const basic_1 = require("./basic");
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SharedContext } from '../types';
|
|
2
2
|
import type * as vscode from '@volar/language-service';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position) => vscode.DocumentHighlight[];
|
|
4
|
+
//# sourceMappingURL=documentHighlight.d.ts.map
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
|
-
const PConst =
|
|
4
|
+
const PConst = require("../protocol.const");
|
|
28
5
|
const modifiers_1 = require("../utils/modifiers");
|
|
29
6
|
const shared_1 = require("../shared");
|
|
30
7
|
const getSymbolKind = (kind) => {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type * as vscode from 'vscode-languageserver-protocol';
|
|
2
2
|
import { SharedContext } from '../types';
|
|
3
3
|
export declare function register(ctx: SharedContext): (oldUri: string, newUri: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
4
|
+
//# sourceMappingURL=fileRename.d.ts.map
|
|
@@ -5,3 +5,4 @@ export declare function register(ctx: SharedContext): {
|
|
|
5
5
|
onRange: (document: TextDocument, range: vscode.Range | undefined, options: vscode.FormattingOptions) => Promise<vscode.TextEdit[]>;
|
|
6
6
|
onType: (document: TextDocument, options: vscode.FormattingOptions, position: vscode.Position, key: string) => Promise<vscode.TextEdit[]>;
|
|
7
7
|
};
|
|
8
|
+
//# sourceMappingURL=formatting.d.ts.map
|
package/out/features/hover.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type * as vscode from '@volar/language-service';
|
|
2
2
|
import { SharedContext } from '../types';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position, documentOnly?: boolean) => vscode.Hover | undefined;
|
|
4
|
+
//# sourceMappingURL=hover.d.ts.map
|
package/out/features/hover.js
CHANGED
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
|
-
const previewer =
|
|
4
|
+
const previewer = require("../utils/previewer");
|
|
28
5
|
const shared_1 = require("../shared");
|
|
29
6
|
function register(ctx) {
|
|
30
7
|
const { ts } = ctx;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type * as vscode from 'vscode-languageserver-protocol';
|
|
2
2
|
import { SharedContext } from '../types';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position) => vscode.LocationLink[];
|
|
4
|
+
//# sourceMappingURL=implementation.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SharedContext } from '../types';
|
|
2
2
|
import type * as vscode from '@volar/language-service';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, range: vscode.Range) => Promise<vscode.InlayHint[] | undefined>;
|
|
4
|
+
//# sourceMappingURL=inlayHints.d.ts.map
|
package/out/features/rename.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ import type * as vscode from '@volar/language-service';
|
|
|
3
3
|
import { SharedContext } from '../types';
|
|
4
4
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position, newName: string) => Promise<vscode.WorkspaceEdit | undefined>;
|
|
5
5
|
export declare function fileTextChangesToWorkspaceEdit(changes: readonly ts.FileTextChanges[], ctx: SharedContext): vscode.WorkspaceEdit;
|
|
6
|
+
//# sourceMappingURL=rename.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SharedContext } from '../types';
|
|
2
2
|
import type * as vscode from '@volar/language-service';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, positions: vscode.Position[]) => vscode.SelectionRange[];
|
|
4
|
+
//# sourceMappingURL=selectionRanges.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type * as vscode from '@volar/language-service';
|
|
2
2
|
import { SharedContext } from '../types';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, range: vscode.Range, legend: vscode.SemanticTokensLegend) => [number, number, number, number, number][] | undefined;
|
|
4
|
+
//# sourceMappingURL=semanticTokens.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { SharedContext } from '../types';
|
|
2
2
|
import type * as vscode from '@volar/language-service';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position, context?: vscode.SignatureHelpContext) => vscode.SignatureHelp | undefined;
|
|
4
|
+
//# sourceMappingURL=signatureHelp.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type * as vscode from 'vscode-languageserver-protocol';
|
|
2
2
|
import { SharedContext } from '../types';
|
|
3
3
|
export declare function register(ctx: SharedContext): (uri: string, position: vscode.Position) => vscode.LocationLink[];
|
|
4
|
+
//# sourceMappingURL=typeDefinition.d.ts.map
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.register = void 0;
|
|
27
|
-
const PConst =
|
|
4
|
+
const PConst = require("../protocol.const");
|
|
28
5
|
const modifiers_1 = require("../utils/modifiers");
|
|
29
6
|
const shared_1 = require("../shared");
|
|
30
7
|
function getSymbolKind(item) {
|
package/out/index.d.ts
CHANGED
package/out/index.js
CHANGED
|
@@ -10,54 +10,42 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
15
|
};
|
|
28
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
17
|
exports.create = void 0;
|
|
30
|
-
const semver =
|
|
18
|
+
const semver = require("semver");
|
|
31
19
|
const shared_1 = require("./shared");
|
|
32
20
|
const vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument");
|
|
33
|
-
const _callHierarchy =
|
|
34
|
-
const codeActions =
|
|
35
|
-
const codeActionResolve =
|
|
36
|
-
const completions =
|
|
37
|
-
const directiveCommentCompletions =
|
|
38
|
-
const jsDocCompletions =
|
|
39
|
-
const completionResolve =
|
|
40
|
-
const definitions =
|
|
41
|
-
const diagnostics =
|
|
42
|
-
const documentHighlight =
|
|
43
|
-
const documentSymbol =
|
|
44
|
-
const fileReferences =
|
|
45
|
-
const fileRename =
|
|
46
|
-
const foldingRanges =
|
|
47
|
-
const formatting =
|
|
48
|
-
const hover =
|
|
49
|
-
const implementation =
|
|
50
|
-
const inlayHints =
|
|
51
|
-
const prepareRename =
|
|
52
|
-
const references =
|
|
53
|
-
const rename =
|
|
54
|
-
const selectionRanges =
|
|
55
|
-
const semanticTokens =
|
|
56
|
-
const signatureHelp =
|
|
57
|
-
const typeDefinitions =
|
|
58
|
-
const workspaceSymbols =
|
|
21
|
+
const _callHierarchy = require("./features/callHierarchy");
|
|
22
|
+
const codeActions = require("./features/codeAction");
|
|
23
|
+
const codeActionResolve = require("./features/codeActionResolve");
|
|
24
|
+
const completions = require("./features/completions/basic");
|
|
25
|
+
const directiveCommentCompletions = require("./features/completions/directiveComment");
|
|
26
|
+
const jsDocCompletions = require("./features/completions/jsDoc");
|
|
27
|
+
const completionResolve = require("./features/completions/resolve");
|
|
28
|
+
const definitions = require("./features/definition");
|
|
29
|
+
const diagnostics = require("./features/diagnostics");
|
|
30
|
+
const documentHighlight = require("./features/documentHighlight");
|
|
31
|
+
const documentSymbol = require("./features/documentSymbol");
|
|
32
|
+
const fileReferences = require("./features/fileReferences");
|
|
33
|
+
const fileRename = require("./features/fileRename");
|
|
34
|
+
const foldingRanges = require("./features/foldingRanges");
|
|
35
|
+
const formatting = require("./features/formatting");
|
|
36
|
+
const hover = require("./features/hover");
|
|
37
|
+
const implementation = require("./features/implementation");
|
|
38
|
+
const inlayHints = require("./features/inlayHints");
|
|
39
|
+
const prepareRename = require("./features/prepareRename");
|
|
40
|
+
const references = require("./features/references");
|
|
41
|
+
const rename = require("./features/rename");
|
|
42
|
+
const selectionRanges = require("./features/selectionRanges");
|
|
43
|
+
const semanticTokens = require("./features/semanticTokens");
|
|
44
|
+
const signatureHelp = require("./features/signatureHelp");
|
|
45
|
+
const typeDefinitions = require("./features/typeDefinition");
|
|
46
|
+
const workspaceSymbols = require("./features/workspaceSymbol");
|
|
59
47
|
const typescript_1 = require("@volar/typescript");
|
|
60
|
-
const tsFaster =
|
|
48
|
+
const tsFaster = require("typescript-auto-import-cache");
|
|
61
49
|
__exportStar(require("@volar/typescript"), exports);
|
|
62
50
|
;
|
|
63
51
|
const jsDocTriggerCharacter = '*';
|
package/out/protocol.const.d.ts
CHANGED
package/out/shared.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export declare function getConfigTitle(document: TextDocument): string;
|
|
|
3
3
|
export declare function isTsDocument(document: TextDocument): boolean;
|
|
4
4
|
export declare function isJsonDocument(document: TextDocument): boolean;
|
|
5
5
|
export declare function safeCall<T>(cb: () => T): T | undefined;
|
|
6
|
+
//# sourceMappingURL=shared.d.ts.map
|
package/out/types.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export declare const incorrectlyImplementsInterface: Set<number>;
|
|
|
9
9
|
export declare const cannotFindName: Set<number>;
|
|
10
10
|
export declare const extendsShouldBeImplements: Set<number>;
|
|
11
11
|
export declare const asyncOnlyAllowedInAsyncFunctions: Set<number>;
|
|
12
|
+
//# sourceMappingURL=errorCodes.d.ts.map
|
package/out/utils/fixNames.d.ts
CHANGED
package/out/utils/modifiers.d.ts
CHANGED
package/out/utils/previewer.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export declare function plainWithLinks(parts: readonly Proto.SymbolDisplayPart[]
|
|
|
11
11
|
export declare function tagsMarkdownPreview(tags: readonly ts.JSDocTagInfo[], filePathConverter: IFilePathToResourceConverter, ctx: SharedContext): string;
|
|
12
12
|
export declare function markdownDocumentation(documentation: Proto.SymbolDisplayPart[] | string | undefined, tags: ts.JSDocTagInfo[] | undefined, filePathConverter: IFilePathToResourceConverter, ctx: SharedContext): string;
|
|
13
13
|
export declare function addMarkdownDocumentation(out: string, documentation: Proto.SymbolDisplayPart[] | string | undefined, tags: ts.JSDocTagInfo[] | undefined, converter: IFilePathToResourceConverter, ctx: SharedContext): string;
|
|
14
|
+
//# sourceMappingURL=previewer.d.ts.map
|
|
@@ -1,30 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.snippetForFunctionCall = void 0;
|
|
27
|
-
const PConst =
|
|
4
|
+
const PConst = require("../protocol.const");
|
|
28
5
|
function snippetForFunctionCall(item, displayParts) {
|
|
29
6
|
if (item.insertText && typeof item.insertText !== 'string') {
|
|
30
7
|
return { snippet: item.insertText, parameterCount: 0 };
|
|
@@ -8,3 +8,4 @@ export declare function entriesToLocations(entries: {
|
|
|
8
8
|
}[], ctx: SharedContext): vscode.Location[];
|
|
9
9
|
export declare function entriesToLocationLinks<T extends ts.DocumentSpan>(entries: T[], ctx: SharedContext): vscode.LocationLink[];
|
|
10
10
|
export declare function boundSpanToLocationLinks(info: ts.DefinitionInfoAndBoundSpan, originalDoc: TextDocument, ctx: SharedContext): vscode.LocationLink[];
|
|
11
|
+
//# sourceMappingURL=transforms.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as ts from 'typescript/lib/tsserverlibrary';
|
|
2
2
|
export declare namespace SymbolKind {
|
|
3
|
-
function fromProtocolScriptElementKind(kind: ts.ScriptElementKind): 2 | 5 |
|
|
3
|
+
function fromProtocolScriptElementKind(kind: ts.ScriptElementKind): 2 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 15 | 22 | 26;
|
|
4
4
|
}
|
|
5
|
+
//# sourceMappingURL=typeConverters.d.ts.map
|
|
@@ -3,32 +3,9 @@
|
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
5
|
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
7
|
exports.SymbolKind = void 0;
|
|
31
|
-
const PConst =
|
|
8
|
+
const PConst = require("../protocol.const");
|
|
32
9
|
var SymbolKind;
|
|
33
10
|
(function (SymbolKind) {
|
|
34
11
|
function fromProtocolScriptElementKind(kind) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "volar-service-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
|
+
"description": "Integrate TypeScript into Volar",
|
|
5
|
+
"homepage": "https://github.com/volarjs/services/tree/master/packages/typescript",
|
|
6
|
+
"bugs": "https://github.com/volarjs/services/issues",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"keywords": [
|
|
9
|
+
"volar-service"
|
|
10
|
+
],
|
|
4
11
|
"main": "out/index.js",
|
|
5
12
|
"license": "MIT",
|
|
6
13
|
"files": [
|
|
@@ -12,16 +19,21 @@
|
|
|
12
19
|
"url": "https://github.com/volarjs/services.git",
|
|
13
20
|
"directory": "packages/typescript"
|
|
14
21
|
},
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "Johnson Chu",
|
|
24
|
+
"email": "johnsoncodehk@gmail.com",
|
|
25
|
+
"url": "https://github.com/johnsoncodehk"
|
|
26
|
+
},
|
|
15
27
|
"devDependencies": {
|
|
16
|
-
"@types/semver": "^7.
|
|
28
|
+
"@types/semver": "^7.5.4",
|
|
17
29
|
"@volar/typescript": "latest"
|
|
18
30
|
},
|
|
19
31
|
"dependencies": {
|
|
20
|
-
"semver": "^7.
|
|
32
|
+
"semver": "^7.5.4",
|
|
21
33
|
"typescript-auto-import-cache": "^0.3.0",
|
|
22
|
-
"vscode-languageserver-textdocument": "^1.0.
|
|
34
|
+
"vscode-languageserver-textdocument": "^1.0.11",
|
|
23
35
|
"vscode-nls": "^5.2.0",
|
|
24
|
-
"vscode-uri": "^3.0.
|
|
36
|
+
"vscode-uri": "^3.0.8"
|
|
25
37
|
},
|
|
26
38
|
"peerDependencies": {
|
|
27
39
|
"@volar/language-service": "~1.10.0",
|
|
@@ -32,5 +44,5 @@
|
|
|
32
44
|
"optional": true
|
|
33
45
|
}
|
|
34
46
|
},
|
|
35
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "3a59378715a959b433ca65700d2515d708469388"
|
|
36
48
|
}
|