vue-tsc 0.28.8 → 0.29.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/README.md +2 -0
- package/bin/vue-tsc.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -23,6 +23,8 @@ Build dts:
|
|
|
23
23
|
|
|
24
24
|
`vue-tsc --declaration --emitDeclarationOnly`
|
|
25
25
|
|
|
26
|
+
Check out https://github.com/johnsoncodehk/volar/discussions/640#discussioncomment-1555479 for example repo.
|
|
27
|
+
|
|
26
28
|
## Sponsors
|
|
27
29
|
|
|
28
30
|
This company is [sponsoring this project](https://github.com/sponsors/johnsoncodehk) to improve your DX. 💪
|
package/bin/vue-tsc.js
CHANGED
|
@@ -9,11 +9,11 @@ fs.readFileSync = (...args) => {
|
|
|
9
9
|
let tsc = readFileSync(...args);
|
|
10
10
|
tsc = tsc.replace(
|
|
11
11
|
`function createIncrementalProgram(_a) {`,
|
|
12
|
-
`function createIncrementalProgram(_a) { throw 'incremental mode is not yet support';`,
|
|
12
|
+
`function createIncrementalProgram(_a) { console.error('incremental mode is not yet support'); throw 'incremental mode is not yet support';`,
|
|
13
13
|
);
|
|
14
14
|
tsc = tsc.replace(
|
|
15
15
|
`function createWatchProgram(host) {`,
|
|
16
|
-
`function createWatchProgram(host) { throw 'watch mode is not yet support';`,
|
|
16
|
+
`function createWatchProgram(host) { console.error('watch mode is not yet support'); throw 'watch mode is not yet support';`,
|
|
17
17
|
);
|
|
18
18
|
tsc = tsc.replace(
|
|
19
19
|
`function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-tsc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"bin",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"vue-tsc": "./bin/vue-tsc.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@volar/shared": "0.
|
|
19
|
-
"vscode-vue-languageservice": "0.
|
|
18
|
+
"@volar/shared": "0.29.1",
|
|
19
|
+
"vscode-vue-languageservice": "0.29.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"typescript": "*"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "0add24cc5057e9c01e8d2b16cf5888309b6a16d5"
|
|
25
25
|
}
|