@kcconfigs/tsconfig 0.1.0-beta.1 → 0.1.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 CHANGED
@@ -1,11 +1,82 @@
1
1
  # Changelog
2
2
 
3
- ## [0.1.0-beta.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig#v0.1.0-beta.0...@kcconfigs/tsconfig+v0.1.0-beta.1) (2025-12-28)
3
+ ## [0.1.0](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v0.1.0-beta.2...@kcconfigs/tsconfig+v0.1.0) (2026-01-13)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **kcconfigs/tsconfig:** remove default types and kctypes, user must install themselves
9
+ * **kcconfigs/tsconfig:** remove /default and use `@kcconfigs/tsconfig` instead
10
+
11
+ ### Features
12
+
13
+ * **kcconfigs/tsconfig:** remove default types and kctypes, user must install themselves ([5f2989d](https://github.com/kc-workspace/kcws/commit/5f2989d1c091a3ae78f43ce5320ff232246e035f))
14
+ * **kcconfigs/tsconfig:** rewrite the config and utilize ts5.5 features ([cf661d5](https://github.com/kc-workspace/kcws/commit/cf661d5c52e23d4a3e6d0c3ea5fe33e7cbd56060))
15
+ * **kcconfigs/tsconfig:** utilize typescript v5.5 features to support relative from root config ([48cd74a](https://github.com/kc-workspace/kcws/commit/48cd74a3a0e4a5e64530a22865d8c5a2f948cf5e))
16
+
17
+
18
+ ### Performance Improvements
19
+
20
+ * **kcconfigs/tsconfig:** remove /default and use `@kcconfigs/tsconfig` instead ([bfec7e6](https://github.com/kc-workspace/kcws/commit/bfec7e6ea78c38019b267376e2f576cd6c9b79d5))
21
+
22
+
23
+ ### Bugfixes
24
+
25
+ * **kcconfigs/tsconfig:** move checkJs to features/js instead of base preset ([0316897](https://github.com/kc-workspace/kcws/commit/0316897d7533a2eddf6c5510c1eb59d7731e1341))
26
+ * **kcconfigs/tsconfig:** update docs ([89a39e1](https://github.com/kc-workspace/kcws/commit/89a39e1f30db14854bbfe56b2c8a5163db84d96d))
27
+
28
+
29
+ ### Documentation
30
+
31
+ * add package version and changelog to documentation site ([722fab5](https://github.com/kc-workspace/kcws/commit/722fab5e2472b7d4e4fd5ba446c369f36bd1b4f1))
32
+ * **kcconfigs/tsconfig:** add readme for installation, usage, and example ([87e9069](https://github.com/kc-workspace/kcws/commit/87e90699de4f26bb0c4c934f30894b2b640fc060))
33
+
34
+
35
+ ### Miscellaneous Chores
36
+
37
+ * **kcconfigs/tsconfig:** force update v0.1.0-beta.2 => v0.1.0 ([6a2d78d](https://github.com/kc-workspace/kcws/commit/6a2d78dec4efaaf9a816618a558179a39d6c4e15))
38
+
39
+
40
+ ### Dependencies
41
+
42
+ * The following workspace dependencies were updated
43
+ * devDependencies
44
+ * @kcconfigs/biome bumped to 0.2.1
45
+
46
+ ## [0.1.0-beta.2](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v0.1.0-beta.1...@kcconfigs/tsconfig+v0.1.0-beta.2) (2026-01-10)
47
+
48
+
49
+ ### ⚠ BREAKING CHANGES
50
+
51
+ * **kcconfigs/biome:** Use @kcconfigs/biome instead of @kcconfigs/biome/default when use shared config
52
+
53
+ ### Performance Improvements
54
+
55
+ * **kcconfigs/biome:** remove /default exports and add typedoc conditions ([5e1ab7d](https://github.com/kc-workspace/kcws/commit/5e1ab7d9be478fedbb29d2e68801c7689cd39882))
56
+
57
+
58
+ ### Bugfixes
59
+
60
+ * **config:** update schema version from 2.3.8 to 2.3.10 across all biome configuration files ([751ee20](https://github.com/kc-workspace/kcws/commit/751ee207527ed05720ad415927e0b0f27bdf9bdf))
61
+
62
+
63
+ ### Documentation
64
+
65
+ * update changelog to fix invalid url ([7f14bb5](https://github.com/kc-workspace/kcws/commit/7f14bb520342dc1dfb546a166bf64ef8a357451e))
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * The following workspace dependencies were updated
71
+ * devDependencies
72
+ * @kcconfigs/biome bumped to 0.2.0
73
+
74
+ ## 0.1.0-beta.1 (2025-12-28)
4
75
 
5
76
 
6
77
  ### Bugfixes
7
78
 
8
- * update all [@kcconfigs](https://github.com/kcconfigs) description so it trigger new deployment with new tag separator ([cf5be8c](https://github.com/kc-workspace/kcws/commit/cf5be8cc02fba8becb7e8f31fd6f3a741c0f0b95))
79
+ * update all `@kcconfigs` description so it trigger new deployment with new tag separator ([cf5be8c](https://github.com/kc-workspace/kcws/commit/cf5be8cc02fba8becb7e8f31fd6f3a741c0f0b95))
9
80
 
10
81
 
11
82
  ### Dependencies
package/README.md CHANGED
@@ -1,11 +1,149 @@
1
- # TSConfig
1
+ # @kcconfigs/tsconfig
2
2
 
3
- ## When use internally
3
+ Shared TypeScript configuration presets for the kc-workspace monorepo.
4
+ Provides multiple tsconfig.json templates for different project types and use cases.
4
5
 
5
- When using this package inside this mono-repo, Relative path `./node_modules` is required for types package to resolve correctly.
6
+ - [Prerequisites](#prerequisites)
7
+ - [Installation](#installation)
8
+ - [Recommended settings](#recommended-settings)
9
+ - [Usage](#usage)
10
+ - [Presets](#presets)
11
+ - [Environments](#environments)
12
+ - [Features](#features)
13
+ - [Custom settings](#custom-settings)
14
+ - [Compiler Options](#compiler-options)
15
+ - [Example](#example)
16
+ - [TSDown](#tsdown)
17
+ - [References](#references)
6
18
 
7
- Except any config without custom typeRoots (e.g. base).
19
+ ## Prerequisites
8
20
 
9
- ## Todo list
21
+ - **TypeScript**: 5.5.0 or higher (as peer dependency)
10
22
 
11
- - [ ] - Try install externally if package resolution works?
23
+ ## Installation
24
+
25
+ ```bash
26
+ pnpm add --save-dev typescript @kcconfigs/tsconfig
27
+ ```
28
+
29
+ ## Recommended settings
30
+
31
+ - `"type": "module"` on package.json ([learn more][package.json#type])
32
+
33
+ ## Usage
34
+
35
+ This package provides multiple tsconfig presets, environments, and features:
36
+
37
+ ### Presets
38
+
39
+ | Name | Description |
40
+ | ------------------------------ | ------------------------------------------ |
41
+ | `@kcconfigs/tsconfig/base` | Base configuration for general typescript |
42
+ | `@kcconfigs/tsconfig` | Default configuration |
43
+ | `@kcconfigs/tsconfig/commonjs` | Default but for CommonJS (not recommended) |
44
+ | `@kcconfigs/tsconfig/root` | Use monorepo root |
45
+ | `@kcconfigs/tsconfig/bundler` | Use for with bundler (vite, tsdown, etc.) |
46
+ | `@kcconfigs/tsconfig/dts` | Use for generate declaration and maps |
47
+ | `@kcconfigs/tsconfig/zshy` | Use with [zshy][zshy] |
48
+
49
+ Example use presets
50
+
51
+ ```json
52
+ {
53
+ "extends": "@kcconfigs/tsconfig"
54
+ }
55
+ ```
56
+
57
+ ### Environments
58
+
59
+ | Name | Description |
60
+ | ------------------------------- | ----------------------- |
61
+ | `@kcconfigs/tsconfig/envs/node` | For node environment |
62
+ | `@kcconfigs/tsconfig/envs/web` | For browser environment |
63
+
64
+ ```json
65
+ {
66
+ "extends": [
67
+ "@kcconfigs/tsconfig",
68
+ "@kcconfigs/tsconfig/envs/node"
69
+ ]
70
+ }
71
+ ```
72
+
73
+ ### Features
74
+
75
+ | Name | Description |
76
+ | ---------------------------------------------- | --------------------------------------------------- |
77
+ | `@kcconfigs/tsconfig/features/bundler` | Set for bundler mode |
78
+ | `@kcconfigs/tsconfig/features/declaration` | Add declaration files |
79
+ | `@kcconfigs/tsconfig/features/declarationOnly` | Only emit declaration files |
80
+ | `@kcconfigs/tsconfig/features/diagnostics` | Add diagnostics output for debugging |
81
+ | `@kcconfigs/tsconfig/features/nodeRuntime` | Set typescript to support directly run from Node.js |
82
+ | `@kcconfigs/tsconfig/features/noIncremental` | Disable incremental from base config |
83
+ | `@kcconfigs/tsconfig/features/noSourcemap` | Disable source map and declaration maps output |
84
+ | `@kcconfigs/tsconfig/features/noStrict` | Disable strict mode when type checks |
85
+ | `@kcconfigs/tsconfig/features/tslib` | Enable using helpers from `tslib` |
86
+ | `@kcconfigs/tsconfig/features/types` | Support custom `@kctypes/*` packages as types |
87
+ | `@kcconfigs/tsconfig/features/js` | Allow JavaScript files to be imported |
88
+ | `@kcconfigs/tsconfig/features/es5` | Set target to ES5 (2009) for backward compatible |
89
+ | `@kcconfigs/tsconfig/features/es6` | Set target to ES6 (ES2015) for backward compatible |
90
+ | `@kcconfigs/tsconfig/features/empty` | Starting point for new features |
91
+
92
+ Example use features
93
+
94
+ ```json
95
+ {
96
+ "extends": [
97
+ "@kcconfigs/tsconfig",
98
+ "@kcconfigs/tsconfig/envs/node",
99
+ "@kcconfigs/tsconfig/features/noSourcemap"
100
+ ]
101
+ }
102
+ ```
103
+
104
+ ### Custom settings
105
+
106
+ To extend configurations with custom settings:
107
+
108
+ ```json
109
+ {
110
+ "extends": ["@kcconfigs/tsconfig", "@kcconfigs/tsconfig/envs/node"],
111
+ "include": ["src/**/*"],
112
+ "exclude": ["node_modules", "dist", "**/*.test.ts"],
113
+ "compilerOptions": {
114
+ "declaration": true
115
+ }
116
+ }
117
+ ```
118
+
119
+ ## Compiler Options
120
+
121
+ All configurations inherit base settings:
122
+
123
+ - **Target**: ESNext
124
+ - **Module**: ESNext
125
+ - **Strict Mode**: Enabled
126
+ - **Source Maps**: Enabled
127
+ - **Check Js**: Enabled
128
+
129
+ ## Example
130
+
131
+ Below are the example configuration per tools or frameworks.
132
+
133
+ ### TSDown
134
+
135
+ ```json
136
+ {
137
+ "extends": "@kcconfigs/tsconfig/bundler"
138
+ }
139
+ ```
140
+
141
+ <!-- TODO: Add more -->
142
+
143
+ ## References
144
+
145
+ - [TypeScript Configuration][tsconfig]
146
+
147
+ [package.json#type]: https://nodejs.org/api/packages.html#type
148
+ [zshy]: https://github.com/colinhacks/zshy
149
+ [tsconfig]: https://www.typescriptlang.org/tsconfig
package/package.json CHANGED
@@ -1,25 +1,20 @@
1
1
  {
2
2
  "name": "@kcconfigs/tsconfig",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0",
4
4
  "description": "Shared tsconfig.json",
5
5
  "devDependencies": {
6
- "@types/node": "^24.0.0",
7
6
  "@biomejs/biome": "2.3.10",
8
- "@kcconfigs/biome": "0.1.1",
9
- "@kctypes/generic": "1.30.3",
10
- "@kctypes/package_json": "1.30.4"
7
+ "@kcconfigs/biome": "0.2.1"
11
8
  },
12
9
  "peerDependencies": {
13
- "typescript": "^5.0.0"
10
+ "typescript": "^5.5.0"
14
11
  },
15
- "main": "./src/tsconfig.default.json",
12
+ "main": "./src/presets/default.json",
16
13
  "exports": {
17
- "./base": "./src/tsconfig.base.json",
18
- "./root": "./src/tsconfig.root.json",
19
- "./default": "./src/tsconfig.default.json",
20
- "./dts": "./src/tsconfig.dts.json",
21
- "./bundler": "./src/tsconfig.bundler.json",
22
- "./zshy": "./src/tsconfig.zshy.json"
14
+ ".": "./src/presets/default.json",
15
+ "./*": "./src/presets/*.json",
16
+ "./envs/*": "./src/envs/*.json",
17
+ "./features/*": "./src/features/*.json"
23
18
  },
24
19
  "license": "AGPL-3.0-only",
25
20
  "homepage": "https://github.com/kc-workspace/kcws/tree/main/packages/@kcconfigs/tsconfig",
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
5
+ "module": "nodenext",
6
+ "moduleResolution": "nodenext"
7
+ }
8
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
5
+ "allowArbitraryExtensions": true,
6
+ "module": "esnext",
7
+
8
+ // Language and Environment - https://www.typescriptlang.org/tsconfig/#Language_and_Environment_6254
9
+ "lib": ["ESNext", "DOM"]
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
5
+ "customConditions": ["source"],
6
+ "moduleResolution": "bundler",
7
+
8
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6205
9
+ "noEmit": true
10
+ }
11
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
5
+ "module": "commonjs",
6
+
7
+ // Interop Constraints - https://www.typescriptlang.org/tsconfig/#Interop_Constraints_6252
8
+ "verbatimModuleSyntax": false
9
+ }
10
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Projects - https://www.typescriptlang.org/tsconfig/#Projects_6255
5
+ "composite": true,
6
+
7
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6246
8
+ "declaration": true,
9
+ "declarationMap": true,
10
+
11
+ // Interop Constraints - https://www.typescriptlang.org/tsconfig/#Interop_Constraints_6252
12
+ "isolatedDeclarations": true
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Projects - https://www.typescriptlang.org/tsconfig/#Projects_6255
5
+ "composite": true,
6
+
7
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6246
8
+ "emitDeclarationOnly": true
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Compiler Diagnostics - https://www.typescriptlang.org/tsconfig/#Compiler_Diagnostics_6251
5
+ "extendedDiagnostics": true,
6
+ "listEmittedFiles": true
7
+ }
8
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/tsconfig",
3
- "extends": "./tsconfig.base.json"
3
+ "compilerOptions": {}
4
4
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Language and Environment - https://www.typescriptlang.org/tsconfig/#Language_and_Environment_6254
5
+ "target": "es5"
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Language and Environment - https://www.typescriptlang.org/tsconfig/#Language_and_Environment_6254
5
+ "target": "es6"
6
+ }
7
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Interop Constraints - https://www.typescriptlang.org/tsconfig/#Interop_Constraints_6252
5
+ "isolatedDeclarations": false,
6
+
7
+ // JavaScript Support - https://www.typescriptlang.org/tsconfig/#JavaScript_Support_6247
8
+ "allowJs": true,
9
+ "checkJs": true
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Projects - https://www.typescriptlang.org/tsconfig/#Projects_6255
5
+ "incremental": false
6
+ }
7
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6246
5
+ "sourceMap": false,
6
+ "declarationMap": false
7
+ }
8
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Type Checking - https://www.typescriptlang.org/tsconfig/#Type_Checking_6248
5
+ "strict": false,
6
+ "exactOptionalPropertyTypes": false,
7
+ "noFallthroughCasesInSwitch": false,
8
+ "noImplicitOverride": false,
9
+ "noImplicitReturns": false,
10
+ "noPropertyAccessFromIndexSignature": false,
11
+ "noUncheckedIndexedAccess": false
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ /** This will disable all features not support by node runtime */
3
+ "$schema": "https://www.schemastore.org/tsconfig",
4
+ "compilerOptions": {
5
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
6
+ "rewriteRelativeImportExtensions": true,
7
+
8
+ // Interop Constraints - https://www.typescriptlang.org/tsconfig/#Interop_Constraints_6252
9
+ "erasableSyntaxOnly": true,
10
+ "verbatimModuleSyntax": true
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6246
5
+ "importHelpers": true
6
+ }
7
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
5
+ "typeRoots": [
6
+ "${configDir}/node_modules/@types",
7
+ "${configDir}/node_modules/@kctypes"
8
+ ]
9
+ }
10
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Type Checking - https://www.typescriptlang.org/tsconfig/#Type_Checking_6248
5
+ "strict": true,
6
+ "exactOptionalPropertyTypes": true,
7
+ "noFallthroughCasesInSwitch": true,
8
+ "noImplicitOverride": true,
9
+ "noImplicitReturns": true,
10
+ "noPropertyAccessFromIndexSignature": true,
11
+ "noUncheckedIndexedAccess": true,
12
+ "noUnusedLocals": true,
13
+ "noUnusedParameters": true,
14
+
15
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
16
+ "module": "preserve",
17
+ "noUncheckedSideEffectImports": true,
18
+ "resolveJsonModule": true,
19
+
20
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6246
21
+ "sourceMap": true,
22
+
23
+ // Editor Support - https://www.typescriptlang.org/tsconfig/#Editor_Support_6249
24
+
25
+ // Interop Constraints - https://www.typescriptlang.org/tsconfig/#Interop_Constraints_6252
26
+ "allowSyntheticDefaultImports": true,
27
+ "esModuleInterop": true,
28
+ "forceConsistentCasingInFileNames": true,
29
+ "isolatedModules": true,
30
+ "verbatimModuleSyntax": true,
31
+
32
+ // Language and Environment - https://www.typescriptlang.org/tsconfig/#Language_and_Environment_6254
33
+ "moduleDetection": "force",
34
+ "target": "esnext",
35
+
36
+ // Compiler Diagnostics - https://www.typescriptlang.org/tsconfig/#Compiler_Diagnostics_6251
37
+ "extendedDiagnostics": false,
38
+ "listEmittedFiles": false,
39
+
40
+ // Projects - https://www.typescriptlang.org/tsconfig/#Projects_6255
41
+ "composite": false,
42
+ "incremental": true,
43
+
44
+ // Output Formatting - https://www.typescriptlang.org/tsconfig/#Output_Formatting_6256
45
+ "noErrorTruncation": true,
46
+
47
+ // Completeness - https://www.typescriptlang.org/tsconfig/#Completeness_6257
48
+ "skipLibCheck": true
49
+ }
50
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "extends": [
4
+ "./default.json",
5
+ "../features/declaration.json",
6
+ "../features/bundler.json"
7
+ ]
8
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "extends": ["./default.json", "../features/commonjs.json"]
4
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "extends": ["./base.json", "../features/types.json"],
4
+ "include": ["${configDir}/package.json", "${configDir}/src/**/*.ts"],
5
+ "exclude": [
6
+ "${configDir}/**/node_modules/**",
7
+ "${configDir}/**/*.test.ts",
8
+ "${configDir}/**/*.spec.ts",
9
+ "${configDir}/**/*.test-d.ts",
10
+ "${configDir}/**/*.spec-d.ts"
11
+ ],
12
+ "compilerOptions": {
13
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
14
+ "rootDir": "${configDir}/src",
15
+
16
+ // Emit - https://www.typescriptlang.org/tsconfig/#Emit_6246
17
+ "outDir": "${configDir}/dist"
18
+ }
19
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "extends": ["./default.json", "../features/declarationOnly.json"]
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "extends": ["./default.json"]
4
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "extends": [
4
+ "./default.json",
5
+ "../features/noIncremental.json",
6
+ "../features/declarationOnly.json"
7
+ ]
8
+ }
@@ -1,31 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- // Project performance optimizations
5
- "incremental": true,
6
- "composite": true,
7
-
8
- // Environment setup & latest features
9
- "target": "ESNext",
10
- "module": "Preserve",
11
- "moduleDetection": "force",
12
- "resolveJsonModule": true,
13
-
14
- // Output settings
15
- "isolatedModules": true,
16
- "esModuleInterop": true,
17
- "forceConsistentCasingInFileNames": true,
18
-
19
- // Best practices
20
- "strict": true,
21
- "skipLibCheck": true,
22
- "noFallthroughCasesInSwitch": true,
23
- "noUncheckedIndexedAccess": true,
24
- "noImplicitOverride": true,
25
-
26
- // Some stricter flags (disabled by default)
27
- "noUnusedLocals": true,
28
- "noUnusedParameters": true,
29
- "noPropertyAccessFromIndexSignature": true
30
- }
31
- }
@@ -1,8 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/tsconfig",
3
- "extends": "./base/tsconfig.json",
4
- "exclude": ["**/node_modules/**"],
5
- "compilerOptions": {
6
- "lib": ["ESNext", "DOM"]
7
- }
8
- }
@@ -1,12 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/tsconfig",
3
- "extends": "./tsconfig.default.json",
4
- "compilerOptions": {
5
- // Bundler mode
6
- "moduleResolution": "bundler",
7
- "allowImportingTsExtensions": true,
8
- "noEmit": true,
9
-
10
- "isolatedDeclarations": true
11
- }
12
- }
@@ -1,18 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/tsconfig",
3
- "extends": "./tsconfig.base.json",
4
- "include": ["../../../../package.json", "../../../../src/**/*.ts"],
5
- "exclude": ["../../../../src/**/*.test.ts"],
6
- "compilerOptions": {
7
- "rootDir": "../../../..",
8
- "outDir": "../../../../dist",
9
- "typeRoots": [
10
- "../node_modules/@types",
11
- "../node_modules/@kctypes",
12
- "../../../../node_modules/@types",
13
- "../../../../node_modules/@kctypes"
14
- ],
15
-
16
- "verbatimModuleSyntax": true
17
- }
18
- }
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/tsconfig",
3
- "extends": "./tsconfig.default.json",
4
- "compilerOptions": {
5
- "declaration": true,
6
- "declarationMap": true,
7
- "isolatedDeclarations": true,
8
- "emitDeclarationOnly": true
9
- }
10
- }
@@ -1,12 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/tsconfig",
3
- "extends": "./tsconfig.default.json",
4
- "compilerOptions": {
5
- "incremental": false,
6
- "sourceMap": true,
7
- "declaration": true,
8
- "declarationMap": true,
9
- "isolatedDeclarations": true,
10
- "emitDeclarationOnly": true
11
- }
12
- }