@intune/typescript-config 1.0.0 → 1.0.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 +22 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,41 +1,50 @@
|
|
|
1
|
-
# intune/typescript-config
|
|
1
|
+
# @intune/typescript-config
|
|
2
2
|
|
|
3
|
-
Shared `tsconfig` presets used across
|
|
3
|
+
Shared `tsconfig` presets used across `@intune` projects.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
pnpm add -D @intune/typescript-config typescript
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## Available
|
|
11
|
+
## Available Presets
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
13
|
+
- `@intune/typescript-config/base.json`
|
|
14
|
+
- `@intune/typescript-config/nestjs.json`
|
|
15
|
+
- `@intune/typescript-config/react-library.json`
|
|
16
|
+
- `@intune/typescript-config/nextjs.json`
|
|
16
17
|
|
|
17
18
|
## Usage
|
|
18
19
|
|
|
19
|
-
###
|
|
20
|
+
### Base TypeScript project
|
|
20
21
|
|
|
21
22
|
```json
|
|
22
23
|
{
|
|
23
|
-
|
|
24
|
+
"extends": "@intune/typescript-config/base.json"
|
|
24
25
|
}
|
|
25
26
|
```
|
|
26
27
|
|
|
27
|
-
###
|
|
28
|
+
### NestJS project
|
|
28
29
|
|
|
29
30
|
```json
|
|
30
31
|
{
|
|
31
|
-
|
|
32
|
+
"extends": "@intune/typescript-config/nestjs.json"
|
|
32
33
|
}
|
|
33
34
|
```
|
|
34
35
|
|
|
35
|
-
###
|
|
36
|
+
### React library
|
|
36
37
|
|
|
37
38
|
```json
|
|
38
39
|
{
|
|
39
|
-
|
|
40
|
+
"extends": "@intune/typescript-config/react-library.json"
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Next.js app
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
{
|
|
48
|
+
"extends": "@intune/typescript-config/nextjs.json"
|
|
40
49
|
}
|
|
41
50
|
```
|