@theholocron/tsconfig 6.0.0 → 6.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 +4 -27
- package/node-lts/tsconfig.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ npm install --save-dev @theholocron/tsconfig
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
In your project `tsconfig.json`, extend one of the
|
|
13
|
+
In your project `tsconfig.json`, extend one of the two base configurations:
|
|
14
14
|
|
|
15
15
|
### Next.js
|
|
16
16
|
|
|
@@ -20,35 +20,12 @@ In your project `tsconfig.json`, extend one of the four base configurations:
|
|
|
20
20
|
}
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
### Node
|
|
23
|
+
### Node LTS
|
|
24
24
|
|
|
25
|
-
Targets the
|
|
25
|
+
Targets the current Node LTS feature set. All theholocron projects use this:
|
|
26
26
|
|
|
27
27
|
```json
|
|
28
28
|
{
|
|
29
|
-
"extends": "@theholocron/tsconfig/node-
|
|
29
|
+
"extends": "@theholocron/tsconfig/node-lts"
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
|
-
|
|
33
|
-
### Node 18
|
|
34
|
-
|
|
35
|
-
For projects that must support Node 18:
|
|
36
|
-
|
|
37
|
-
```json
|
|
38
|
-
{
|
|
39
|
-
"extends": "@theholocron/tsconfig/node18"
|
|
40
|
-
}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Node 14 (legacy)
|
|
44
|
-
|
|
45
|
-
For projects still on Node 14:
|
|
46
|
-
|
|
47
|
-
```json
|
|
48
|
-
{
|
|
49
|
-
"extends": "@theholocron/tsconfig/node14"
|
|
50
|
-
}
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
> **Note:** New projects should target `node-next`. `node14` is provided for
|
|
54
|
-
> legacy compatibility only. All theholocron projects require Node 22+.
|
package/node-lts/tsconfig.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/tsconfig",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "TypeScript base configurations for theholocron projects.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/tsconfig#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|