@kcconfigs/tsconfig 0.1.1 → 1.0.0-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Features
7
+
8
+ * **kcconfigs/tsconfig:** update root preset with monorepo structure layout ([73dc55d](https://github.com/kc-workspace/kcws/commit/73dc55dbf3f95702fd469340b2234a84e1e1b192))
9
+
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * **kcconfigs/tsconfig:** force update v0.1.1 => v1.0.0-beta.1 ([707ae11](https://github.com/kc-workspace/kcws/commit/707ae116a0e7f534c054a6d4eca827b34191919f))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * The following workspace dependencies were updated
19
+ * devDependencies
20
+ * @kcconfigs/biome bumped to 1.0.0-beta.1
21
+
3
22
  ## [0.1.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v0.1.0...@kcconfigs/tsconfig+v0.1.1) (2026-03-18)
4
23
 
5
24
 
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.1.1",
3
+ "version": "1.0.0-beta.1",
4
4
  "description": "Shared tsconfig.json",
5
5
  "dependencies": {
6
6
  "@types/node": "^24.0.0"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@biomejs/biome": "2.4.6",
10
- "@kcconfigs/biome": "0.2.2"
10
+ "@kcconfigs/biome": "1.0.0-beta.1"
11
11
  },
12
12
  "peerDependencies": {
13
13
  "typescript": "^5.5.0"
@@ -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
  }