@emberkit/tsconfig 0.1.2-alpha.0 → 0.1.2
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 +44 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# @emberkit/tsconfig
|
|
2
|
+
|
|
3
|
+
Shared TypeScript configuration for EmberKit projects.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -D @emberkit/tsconfig
|
|
9
|
+
# or
|
|
10
|
+
pnpm add -D @emberkit/tsconfig
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Extend the base config in your `tsconfig.json`:
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"extends": "@emberkit/tsconfig/base.json",
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"outDir": "./dist",
|
|
22
|
+
"rootDir": "./src"
|
|
23
|
+
},
|
|
24
|
+
"include": ["src"]
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## What's Included
|
|
29
|
+
|
|
30
|
+
The base config sets:
|
|
31
|
+
|
|
32
|
+
- `target`: ES2022
|
|
33
|
+
- `module`: ESNext
|
|
34
|
+
- `moduleResolution`: bundler
|
|
35
|
+
- `jsx`: react-jsx
|
|
36
|
+
- `jsxImportSource`: @emberkit/core
|
|
37
|
+
- `strict`: true
|
|
38
|
+
- `esModuleInterop`: true
|
|
39
|
+
- `skipLibCheck`: true
|
|
40
|
+
- `verbatimModuleSyntax`: true
|
|
41
|
+
|
|
42
|
+
## License
|
|
43
|
+
|
|
44
|
+
Apache-2.0
|