@kcconfigs/tsconfig 0.1.0-beta.2 → 0.1.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,69 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.1](https://github.com/kc-workspace/kcws/compare/@kcconfigs/tsconfig+v0.1.0...@kcconfigs/tsconfig+v0.1.1) (2026-03-18)
4
+
5
+
6
+ ### Features
7
+
8
+ * **kcconfigs/tsconfig:** add @types/node as default types ([d3a748d](https://github.com/kc-workspace/kcws/commit/d3a748d3deb77fdd8d721b9447738bb8c2dfee54))
9
+ * **kcconfigs/tsconfig:** add noDefaultTypes feature to disable default type from presets ([070d13b](https://github.com/kc-workspace/kcws/commit/070d13b96fbcc24f0fffd607b4337210e4e15c8a))
10
+
11
+
12
+ ### Performance Improvements
13
+
14
+ * **deps:** bump tsdown from 0.18.4 to 0.20.1 ([#70](https://github.com/kc-workspace/kcws/issues/70)) ([24a3e06](https://github.com/kc-workspace/kcws/commit/24a3e0689e5b512d7a80fb6719387ab777662bb7))
15
+ * **deps:** update biome schema version from 2.3.10 to 2.4.6 across all packages ([909ff7e](https://github.com/kc-workspace/kcws/commit/909ff7ede64869a571dac9969169067e8d4b7fbc))
16
+
17
+
18
+ ### Dependencies
19
+
20
+ * The following workspace dependencies were updated
21
+ * devDependencies
22
+ * @kcconfigs/biome bumped to 0.2.2
23
+
24
+ ## [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)
25
+
26
+
27
+ ### ⚠ BREAKING CHANGES
28
+
29
+ * **kcconfigs/tsconfig:** remove default types and kctypes, user must install themselves
30
+ * **kcconfigs/tsconfig:** remove /default and use `@kcconfigs/tsconfig` instead
31
+
32
+ ### Features
33
+
34
+ * **kcconfigs/tsconfig:** remove default types and kctypes, user must install themselves ([5f2989d](https://github.com/kc-workspace/kcws/commit/5f2989d1c091a3ae78f43ce5320ff232246e035f))
35
+ * **kcconfigs/tsconfig:** rewrite the config and utilize ts5.5 features ([cf661d5](https://github.com/kc-workspace/kcws/commit/cf661d5c52e23d4a3e6d0c3ea5fe33e7cbd56060))
36
+ * **kcconfigs/tsconfig:** utilize typescript v5.5 features to support relative from root config ([48cd74a](https://github.com/kc-workspace/kcws/commit/48cd74a3a0e4a5e64530a22865d8c5a2f948cf5e))
37
+
38
+
39
+ ### Performance Improvements
40
+
41
+ * **kcconfigs/tsconfig:** remove /default and use `@kcconfigs/tsconfig` instead ([bfec7e6](https://github.com/kc-workspace/kcws/commit/bfec7e6ea78c38019b267376e2f576cd6c9b79d5))
42
+
43
+
44
+ ### Bugfixes
45
+
46
+ * **kcconfigs/tsconfig:** move checkJs to features/js instead of base preset ([0316897](https://github.com/kc-workspace/kcws/commit/0316897d7533a2eddf6c5510c1eb59d7731e1341))
47
+ * **kcconfigs/tsconfig:** update docs ([89a39e1](https://github.com/kc-workspace/kcws/commit/89a39e1f30db14854bbfe56b2c8a5163db84d96d))
48
+
49
+
50
+ ### Documentation
51
+
52
+ * add package version and changelog to documentation site ([722fab5](https://github.com/kc-workspace/kcws/commit/722fab5e2472b7d4e4fd5ba446c369f36bd1b4f1))
53
+ * **kcconfigs/tsconfig:** add readme for installation, usage, and example ([87e9069](https://github.com/kc-workspace/kcws/commit/87e90699de4f26bb0c4c934f30894b2b640fc060))
54
+
55
+
56
+ ### Miscellaneous Chores
57
+
58
+ * **kcconfigs/tsconfig:** force update v0.1.0-beta.2 => v0.1.0 ([6a2d78d](https://github.com/kc-workspace/kcws/commit/6a2d78dec4efaaf9a816618a558179a39d6c4e15))
59
+
60
+
61
+ ### Dependencies
62
+
63
+ * The following workspace dependencies were updated
64
+ * devDependencies
65
+ * @kcconfigs/biome bumped to 0.2.1
66
+
3
67
  ## [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)
4
68
 
5
69
 
package/README.md CHANGED
@@ -1,11 +1,156 @@
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
+ - [Investigate](#investigate)
18
+ - [References](#references)
6
19
 
7
- Except any config without custom typeRoots (e.g. base).
20
+ ## Prerequisites
8
21
 
9
- ## Todo list
22
+ - **TypeScript**: 5.5.0 or higher (as peer dependency)
10
23
 
11
- - [ ] - Try install externally if package resolution works?
24
+ ## Installation
25
+
26
+ ```bash
27
+ pnpm add --save-dev typescript @kcconfigs/tsconfig
28
+ ```
29
+
30
+ ## Recommended settings
31
+
32
+ - `"type": "module"` on package.json ([learn more][package.json#type])
33
+
34
+ ## Usage
35
+
36
+ This package provides multiple tsconfig presets, environments, and features:
37
+
38
+ ### Presets
39
+
40
+ | Name | Description |
41
+ | ------------------------------ | ------------------------------------------ |
42
+ | `@kcconfigs/tsconfig/base` | Base configuration for general typescript |
43
+ | `@kcconfigs/tsconfig` | Default configuration |
44
+ | `@kcconfigs/tsconfig/commonjs` | Default but for CommonJS (not recommended) |
45
+ | `@kcconfigs/tsconfig/root` | Use monorepo root |
46
+ | `@kcconfigs/tsconfig/bundler` | Use for with bundler (vite, tsdown, etc.) |
47
+ | `@kcconfigs/tsconfig/dts` | Use for generate declaration and maps |
48
+ | `@kcconfigs/tsconfig/zshy` | Use with [zshy][zshy] |
49
+
50
+ Example use presets
51
+
52
+ ```json
53
+ {
54
+ "extends": "@kcconfigs/tsconfig"
55
+ }
56
+ ```
57
+
58
+ ### Environments
59
+
60
+ | Name | Description |
61
+ | ------------------------------- | ----------------------- |
62
+ | `@kcconfigs/tsconfig/envs/node` | For node environment |
63
+ | `@kcconfigs/tsconfig/envs/web` | For browser environment |
64
+
65
+ ```json
66
+ {
67
+ "extends": [
68
+ "@kcconfigs/tsconfig",
69
+ "@kcconfigs/tsconfig/envs/node"
70
+ ]
71
+ }
72
+ ```
73
+
74
+ ### Features
75
+
76
+ | Name | Description |
77
+ | ---------------------------------------------- | --------------------------------------------------- |
78
+ | `@kcconfigs/tsconfig/features/bundler` | Set for bundler mode |
79
+ | `@kcconfigs/tsconfig/features/declaration` | Add declaration files |
80
+ | `@kcconfigs/tsconfig/features/declarationOnly` | Only emit declaration files |
81
+ | `@kcconfigs/tsconfig/features/diagnostics` | Add diagnostics output for debugging |
82
+ | `@kcconfigs/tsconfig/features/nodeRuntime` | Set typescript to support directly run from Node.js |
83
+ | `@kcconfigs/tsconfig/features/noDefaultTypes` | Disable small set of default types |
84
+ | `@kcconfigs/tsconfig/features/noIncremental` | Disable incremental from base config |
85
+ | `@kcconfigs/tsconfig/features/noSourcemap` | Disable source map and declaration maps output |
86
+ | `@kcconfigs/tsconfig/features/noStrict` | Disable strict mode when type checks |
87
+ | `@kcconfigs/tsconfig/features/tslib` | Enable using helpers from `tslib` |
88
+ | `@kcconfigs/tsconfig/features/types` | Support custom `@kctypes/*` packages as types |
89
+ | `@kcconfigs/tsconfig/features/js` | Allow JavaScript files to be imported |
90
+ | `@kcconfigs/tsconfig/features/es5` | Set target to ES5 (2009) for backward compatible |
91
+ | `@kcconfigs/tsconfig/features/es6` | Set target to ES6 (ES2015) for backward compatible |
92
+ | `@kcconfigs/tsconfig/features/empty` | Starting point for new features |
93
+
94
+ Example use features
95
+
96
+ ```json
97
+ {
98
+ "extends": [
99
+ "@kcconfigs/tsconfig",
100
+ "@kcconfigs/tsconfig/envs/node",
101
+ "@kcconfigs/tsconfig/features/noSourcemap"
102
+ ]
103
+ }
104
+ ```
105
+
106
+ ### Custom settings
107
+
108
+ To extend configurations with custom settings:
109
+
110
+ ```json
111
+ {
112
+ "extends": ["@kcconfigs/tsconfig", "@kcconfigs/tsconfig/envs/node"],
113
+ "include": ["src/**/*"],
114
+ "exclude": ["node_modules", "dist", "**/*.test.ts"],
115
+ "compilerOptions": {
116
+ "declaration": true
117
+ }
118
+ }
119
+ ```
120
+
121
+ ## Compiler Options
122
+
123
+ All configurations inherit base settings:
124
+
125
+ - **Target**: ESNext
126
+ - **Module**: ESNext
127
+ - **Strict Mode**: Enabled
128
+ - **Source Maps**: Enabled
129
+ - **Check Js**: Enabled
130
+
131
+ ## Example
132
+
133
+ Below are the example configuration per tools or frameworks.
134
+
135
+ ### TSDown
136
+
137
+ ```json
138
+ {
139
+ "extends": "@kcconfigs/tsconfig/bundler"
140
+ }
141
+ ```
142
+
143
+ <!-- TODO: Add more -->
144
+
145
+ ## Investigate
146
+
147
+ You can use `tsc --showConfig` command to show the full config
148
+ after resolved **extends** path.
149
+
150
+ ## References
151
+
152
+ - [TypeScript Configuration][tsconfig]
153
+
154
+ [package.json#type]: https://nodejs.org/api/packages.html#type
155
+ [zshy]: https://github.com/colinhacks/zshy
156
+ [tsconfig]: https://www.typescriptlang.org/tsconfig
package/package.json CHANGED
@@ -1,25 +1,23 @@
1
1
  {
2
2
  "name": "@kcconfigs/tsconfig",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.1",
4
4
  "description": "Shared tsconfig.json",
5
+ "dependencies": {
6
+ "@types/node": "^24.0.0"
7
+ },
5
8
  "devDependencies": {
6
- "@types/node": "^24.0.0",
7
- "@biomejs/biome": "2.3.10",
8
- "@kctypes/generic": "1.30.3",
9
- "@kctypes/package_json": "1.30.4",
10
- "@kcconfigs/biome": "0.2.0"
9
+ "@biomejs/biome": "2.4.6",
10
+ "@kcconfigs/biome": "0.2.2"
11
11
  },
12
12
  "peerDependencies": {
13
- "typescript": "^5.0.0"
13
+ "typescript": "^5.5.0"
14
14
  },
15
- "main": "./src/tsconfig.default.json",
15
+ "main": "./src/presets/default.json",
16
16
  "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"
17
+ ".": "./src/presets/default.json",
18
+ "./*": "./src/presets/*.json",
19
+ "./envs/*": "./src/envs/*.json",
20
+ "./features/*": "./src/features/*.json"
23
21
  },
24
22
  "license": "AGPL-3.0-only",
25
23
  "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,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,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,12 @@
1
+ {
2
+ "$schema": "https://www.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ // Modules - https://www.typescriptlang.org/tsconfig/#Modules_6244
5
+ "typeRoots": [
6
+ "../../node_modules/@types",
7
+ "../../node_modules/@kctypes",
8
+ "${configDir}/node_modules/@types",
9
+ "${configDir}/node_modules/@kctypes"
10
+ ]
11
+ }
12
+ }
@@ -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
- }