@kcconfigs/tsconfig 0.1.1 → 1.0.0
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/CHANGELOG.md +33 -0
- package/README.md +14 -1
- package/package.json +3 -3
- package/src/presets/root.json +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.0](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v1.0.0-beta.1...@kcconfigs/tsconfig+v1.0.0) (2026-04-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **kcconfigs/tsconfig:** force update v1.0.0-beta.1 => v1.0.0 ([df53073](https://github.com/kc-workspace/kcws/commit/df53073f38b1cc20d0afd8d922a59415a70fe2f3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* devDependencies
|
|
15
|
+
* @kcconfigs/biome bumped to 1.0.0
|
|
16
|
+
|
|
17
|
+
## [1.0.0-beta.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v0.1.1...@kcconfigs/tsconfig+v1.0.0-beta.1) (2026-03-20)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **kcconfigs/tsconfig:** update root preset with monorepo structure layout ([73dc55d](https://github.com/kc-workspace/kcws/commit/73dc55dbf3f95702fd469340b2234a84e1e1b192))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Miscellaneous Chores
|
|
26
|
+
|
|
27
|
+
* **kcconfigs/tsconfig:** force update v0.1.1 => v1.0.0-beta.1 ([707ae11](https://github.com/kc-workspace/kcws/commit/707ae116a0e7f534c054a6d4eca827b34191919f))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Dependencies
|
|
31
|
+
|
|
32
|
+
* The following workspace dependencies were updated
|
|
33
|
+
* devDependencies
|
|
34
|
+
* @kcconfigs/biome bumped to 1.0.0-beta.1
|
|
35
|
+
|
|
3
36
|
## [0.1.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v0.1.0...@kcconfigs/tsconfig+v0.1.1) (2026-03-18)
|
|
4
37
|
|
|
5
38
|
|
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ Provides multiple tsconfig.json templates for different project types and use ca
|
|
|
8
8
|
- [Recommended settings](#recommended-settings)
|
|
9
9
|
- [Usage](#usage)
|
|
10
10
|
- [Presets](#presets)
|
|
11
|
+
- [Root](#root)
|
|
11
12
|
- [Environments](#environments)
|
|
12
13
|
- [Features](#features)
|
|
13
14
|
- [Custom settings](#custom-settings)
|
|
@@ -42,7 +43,7 @@ This package provides multiple tsconfig presets, environments, and features:
|
|
|
42
43
|
| `@kcconfigs/tsconfig/base` | Base configuration for general typescript |
|
|
43
44
|
| `@kcconfigs/tsconfig` | Default configuration |
|
|
44
45
|
| `@kcconfigs/tsconfig/commonjs` | Default but for CommonJS (not recommended) |
|
|
45
|
-
| `@kcconfigs/tsconfig/root` | Use monorepo root
|
|
46
|
+
| `@kcconfigs/tsconfig/root` | Use monorepo root with /packages |
|
|
46
47
|
| `@kcconfigs/tsconfig/bundler` | Use for with bundler (vite, tsdown, etc.) |
|
|
47
48
|
| `@kcconfigs/tsconfig/dts` | Use for generate declaration and maps |
|
|
48
49
|
| `@kcconfigs/tsconfig/zshy` | Use with [zshy][zshy] |
|
|
@@ -55,6 +56,18 @@ Example use presets
|
|
|
55
56
|
}
|
|
56
57
|
```
|
|
57
58
|
|
|
59
|
+
#### Root
|
|
60
|
+
|
|
61
|
+
We are have some restriction:
|
|
62
|
+
|
|
63
|
+
1. Your packages must be on `packages` directory
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"extends": "@kcconfigs/tsconfig/root"
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
58
71
|
### Environments
|
|
59
72
|
|
|
60
73
|
| Name | Description |
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kcconfigs/tsconfig",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Shared tsconfig.json",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@types/node": "^24.0.0"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@biomejs/biome": "2.4.
|
|
10
|
-
"@kcconfigs/biome": "0.
|
|
9
|
+
"@biomejs/biome": "2.4.10",
|
|
10
|
+
"@kcconfigs/biome": "1.0.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"typescript": "^5.5.0"
|
package/src/presets/root.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/tsconfig",
|
|
3
|
-
"extends": ["./default.json"]
|
|
3
|
+
"extends": ["./default.json"],
|
|
4
|
+
"include": ["${configDir}/package.json", "${configDir}/packages/**/*.ts"],
|
|
5
|
+
"exclude": [
|
|
6
|
+
"${configDir}/**/node_modules/**",
|
|
7
|
+
"${configDir}/**/*.config.ts",
|
|
8
|
+
"${configDir}/**/*.test.ts",
|
|
9
|
+
"${configDir}/**/*.spec.ts",
|
|
10
|
+
"${configDir}/**/*.test-d.ts",
|
|
11
|
+
"${configDir}/**/*.spec-d.ts"
|
|
12
|
+
],
|
|
13
|
+
"compilerOptions": {
|
|
14
|
+
// Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
|
|
15
|
+
"rootDir": "${configDir}/packages"
|
|
16
|
+
}
|
|
4
17
|
}
|