@glint/ember-tsc 1.0.1-unstable.3c953c4 → 1.0.1-unstable.9bb76d0
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 +12 -9
- package/package.json +5 -14
package/README.md
CHANGED
|
@@ -1,45 +1,48 @@
|
|
|
1
1
|
# `@glint/core`
|
|
2
2
|
|
|
3
|
-
This package contains core functionality to power template-aware typechecking on a [glint] project.
|
|
3
|
+
This package contains core functionality to power template-aware typechecking on a [glint] project. Two binaries are provided:
|
|
4
|
+
|
|
5
|
+
- `glint-language-server` - the Language Server that the VSCode (and other IDE) extension communicates with
|
|
6
|
+
- `ember-tsc` (see below) - a thin wrapper around TypeScript's `tsc` which provides support for .gts/.gjs files
|
|
4
7
|
|
|
5
8
|
[glint]: https://github.com/typed-ember/glint
|
|
6
9
|
|
|
7
|
-
##
|
|
10
|
+
## `ember-tsc`
|
|
8
11
|
|
|
9
|
-
The `
|
|
12
|
+
The `ember-tsc` CLI tool is a thin wrapper around `tsc` and hence all documentation / use cases / flags that apply to `tsc` also apply to `ember-tsc`.
|
|
10
13
|
|
|
11
|
-
Because `
|
|
14
|
+
Because `ember-tsc` is only used for type-checking purposes (or generating declaration files), and not for producing compiled JS output, the emitting of JS should always be disabled by providing either the `--noEmit` or `--emitDeclarationOnly` flags, depending on your use case.
|
|
12
15
|
|
|
13
16
|
### Usage
|
|
14
17
|
|
|
15
18
|
Gemeral Usage:
|
|
16
19
|
|
|
17
20
|
```sh
|
|
18
|
-
|
|
21
|
+
ember-tsc --noEmit [--build] [--watch|-w] [--declaration|-d] [--emitDeclarationOnly] [--project path/to/tsconfig.json]
|
|
19
22
|
```
|
|
20
23
|
|
|
21
24
|
Type-checking:
|
|
22
25
|
|
|
23
26
|
```sh
|
|
24
|
-
|
|
27
|
+
ember-tsc [--build] --noEmit
|
|
25
28
|
```
|
|
26
29
|
|
|
27
30
|
Type-checking in watch mode:
|
|
28
31
|
|
|
29
32
|
```sh
|
|
30
|
-
|
|
33
|
+
ember-tsc [--build] --noEmit --watch
|
|
31
34
|
```
|
|
32
35
|
|
|
33
36
|
Build declaration files:
|
|
34
37
|
|
|
35
38
|
```
|
|
36
|
-
|
|
39
|
+
ember-tsc --build --declaration --emitDeclarationOnly
|
|
37
40
|
```
|
|
38
41
|
|
|
39
42
|
Build declaration files in watch mode:
|
|
40
43
|
|
|
41
44
|
```
|
|
42
|
-
|
|
45
|
+
ember-tsc --build --declaration --emitDeclarationOnly --watch
|
|
43
46
|
```
|
|
44
47
|
|
|
45
48
|
Please refer to `tsc` docs for other use cases and flags.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glint/ember-tsc",
|
|
3
|
-
"version": "1.0.1-unstable.
|
|
3
|
+
"version": "1.0.1-unstable.9bb76d0",
|
|
4
4
|
"repository": "typed-ember/glint",
|
|
5
5
|
"description": "A CLI for performing typechecking on Glimmer templates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,21 +57,12 @@
|
|
|
57
57
|
"dev": "tsc --watch",
|
|
58
58
|
"prepack": "pnpm build"
|
|
59
59
|
},
|
|
60
|
-
"release-plan": {
|
|
61
|
-
"semverIncrementAs": {
|
|
62
|
-
"major": "prerelease",
|
|
63
|
-
"minor": "prerelease",
|
|
64
|
-
"patch": "prerelease"
|
|
65
|
-
},
|
|
66
|
-
"semverIncrementTag": "alpha",
|
|
67
|
-
"publishTag": "alpha"
|
|
68
|
-
},
|
|
69
60
|
"peerDependencies": {
|
|
70
61
|
"typescript": ">=5.6.0"
|
|
71
62
|
},
|
|
72
63
|
"dependencies": {
|
|
73
64
|
"@glimmer/syntax": ">= 0.95.0",
|
|
74
|
-
"@glint/template": "1.6.1-unstable.
|
|
65
|
+
"@glint/template": "1.6.1-unstable.9bb76d0",
|
|
75
66
|
"@volar/kit": "2.4.23",
|
|
76
67
|
"@volar/language-core": "2.4.23",
|
|
77
68
|
"@volar/language-server": "2.4.23",
|
|
@@ -85,8 +76,8 @@
|
|
|
85
76
|
"semver": "^7.5.2",
|
|
86
77
|
"silent-error": "^1.1.1",
|
|
87
78
|
"uuid": "^8.3.2",
|
|
88
|
-
"volar-service-typescript": "
|
|
89
|
-
"volar-service-html": "
|
|
79
|
+
"volar-service-typescript": "0.0.65",
|
|
80
|
+
"volar-service-html": "0.0.64",
|
|
90
81
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
91
82
|
"vscode-languageserver-textdocument": "^1.0.5",
|
|
92
83
|
"vscode-uri": "^3.0.8",
|
|
@@ -94,7 +85,7 @@
|
|
|
94
85
|
},
|
|
95
86
|
"devDependencies": {
|
|
96
87
|
"@glimmer/component": "^2.0.0",
|
|
97
|
-
"@glint/type-test": "2.0.1-unstable.
|
|
88
|
+
"@glint/type-test": "2.0.1-unstable.9bb76d0",
|
|
98
89
|
"@types/common-tags": "^1.8.0",
|
|
99
90
|
"@types/node": "^18.11.5",
|
|
100
91
|
"@types/semver": "^7.3.13",
|