@volar/kit 2.0.0-alpha.11 → 2.0.0-alpha.13
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/lib/createChecker.js
CHANGED
|
@@ -155,7 +155,7 @@ function createTypeScriptLanguageHost(env, createParsedCommandLine) {
|
|
|
155
155
|
let shouldCheckRootFiles = false;
|
|
156
156
|
const host = {
|
|
157
157
|
getCurrentDirectory: () => {
|
|
158
|
-
return env.uriToFileName(env.workspaceFolder.
|
|
158
|
+
return env.uriToFileName(env.workspaceFolder.toString());
|
|
159
159
|
},
|
|
160
160
|
getCompilationSettings: () => {
|
|
161
161
|
return parsedCommandLine.options;
|
|
@@ -7,10 +7,7 @@ const vscode_uri_1 = require("vscode-uri");
|
|
|
7
7
|
const utils_1 = require("./utils");
|
|
8
8
|
function createServiceEnvironment(getSettings) {
|
|
9
9
|
return {
|
|
10
|
-
workspaceFolder:
|
|
11
|
-
uri: vscode_uri_1.URI.file(process.cwd()),
|
|
12
|
-
name: '',
|
|
13
|
-
},
|
|
10
|
+
workspaceFolder: vscode_uri_1.URI.file(process.cwd()),
|
|
14
11
|
uriToFileName: utils_1.uriToFileName,
|
|
15
12
|
fileNameToUri: utils_1.fileNameToUri,
|
|
16
13
|
getConfiguration(section) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/kit",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"directory": "packages/kit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@volar/language-service": "2.0.0-alpha.
|
|
16
|
-
"@volar/typescript": "2.0.0-alpha.
|
|
15
|
+
"@volar/language-service": "2.0.0-alpha.13",
|
|
16
|
+
"@volar/typescript": "2.0.0-alpha.13",
|
|
17
17
|
"typesafe-path": "^0.2.2",
|
|
18
18
|
"vscode-languageserver-textdocument": "^1.0.11",
|
|
19
19
|
"vscode-uri": "^3.0.8"
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"typescript": "*"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "b052e3d47235325ac614257be1cebd541d421134"
|
|
28
28
|
}
|