@glint/ember-tsc 1.0.2-unstable.b8f9bed → 1.0.2-unstable.c706cf7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-volar-tsc.d.ts","sourceRoot":"","sources":["../../src/cli/run-volar-tsc.ts"],"names":[],"mappings":"AAOA,wBAAgB,GAAG,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"run-volar-tsc.d.ts","sourceRoot":"","sources":["../../src/cli/run-volar-tsc.ts"],"names":[],"mappings":"AAOA,wBAAgB,GAAG,IAAI,IAAI,CA4B1B"}
|
package/lib/cli/run-volar-tsc.js
CHANGED
|
@@ -7,15 +7,13 @@ export function run() {
|
|
|
7
7
|
let cwd = process.cwd();
|
|
8
8
|
const options = {
|
|
9
9
|
extraSupportedExtensions: ['.gjs', '.gts'],
|
|
10
|
-
|
|
11
|
-
//
|
|
12
|
-
//
|
|
10
|
+
extraExtensionsToRemove: [],
|
|
11
|
+
// With the above configuration, `{basename}.gts` will produce `{basename}.gts.d.ts`.
|
|
12
|
+
// If we would prefer `{basename}.d.ts`, we could use the following configuration instead:
|
|
13
13
|
//
|
|
14
|
-
//
|
|
14
|
+
// extraExtensionsToRemove: ['.gts', '.gjs'],
|
|
15
15
|
//
|
|
16
|
-
//
|
|
17
|
-
// The declarations outputted by volar's runTsc luckily also remove extension in imports.
|
|
18
|
-
extraExtensionsToRemove: ['.gjs', '.gts'],
|
|
16
|
+
// See discussion here: https://github.com/typed-ember/glint/issues/628
|
|
19
17
|
};
|
|
20
18
|
const main = () => runTsc(require.resolve('typescript/lib/tsc'), options, (ts, options) => {
|
|
21
19
|
const glintConfig = findConfig(cwd);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-volar-tsc.js","sourceRoot":"","sources":["../../src/cli/run-volar-tsc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,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G,UAAU,CAAC,GAAG,CAAC,CAAC;QAEpC,IAAI,WAAW,EAAE,CAAC;YAChB,MAAM,iBAAiB,GAAG,yBAAyB,CAAC,WAAW,CAAC,CAAC;YACjE,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC,CAAC,CAAC;IACL,IAAI,EAAE,CAAC;AACT,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glint/ember-tsc",
|
|
3
|
-
"version": "1.0.2-unstable.
|
|
3
|
+
"version": "1.0.2-unstable.c706cf7",
|
|
4
4
|
"repository": "typed-ember/glint",
|
|
5
5
|
"description": "A CLI for performing typechecking on Glimmer templates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@glimmer/syntax": ">= 0.95.0",
|
|
65
|
-
"@glint/template": "1.6.2-unstable.
|
|
65
|
+
"@glint/template": "1.6.2-unstable.c706cf7",
|
|
66
66
|
"@volar/kit": "2.4.23",
|
|
67
67
|
"@volar/language-core": "2.4.23",
|
|
68
68
|
"@volar/language-server": "2.4.23",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@glimmer/component": "^2.0.0",
|
|
88
|
-
"@glint/type-test": "2.0.1-unstable.
|
|
88
|
+
"@glint/type-test": "2.0.1-unstable.c706cf7",
|
|
89
89
|
"@types/common-tags": "^1.8.0",
|
|
90
90
|
"@types/node": "^18.11.5",
|
|
91
91
|
"@types/semver": "^7.3.13",
|
package/src/cli/run-volar-tsc.ts
CHANGED
|
@@ -11,15 +11,14 @@ export function run(): void {
|
|
|
11
11
|
const options = {
|
|
12
12
|
extraSupportedExtensions: ['.gjs', '.gts'],
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
//
|
|
14
|
+
extraExtensionsToRemove: [],
|
|
15
|
+
|
|
16
|
+
// With the above configuration, `{basename}.gts` will produce `{basename}.gts.d.ts`.
|
|
17
|
+
// If we would prefer `{basename}.d.ts`, we could use the following configuration instead:
|
|
17
18
|
//
|
|
18
|
-
//
|
|
19
|
+
// extraExtensionsToRemove: ['.gts', '.gjs'],
|
|
19
20
|
//
|
|
20
|
-
//
|
|
21
|
-
// The declarations outputted by volar's runTsc luckily also remove extension in imports.
|
|
22
|
-
extraExtensionsToRemove: ['.gjs', '.gts'],
|
|
21
|
+
// See discussion here: https://github.com/typed-ember/glint/issues/628
|
|
23
22
|
};
|
|
24
23
|
|
|
25
24
|
const main = (): void =>
|