@ocavue/tsconfig 0.2.0 → 0.3.4

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.
@@ -5,14 +5,12 @@ inputs:
5
5
  node-version:
6
6
  description: The version of node.js
7
7
  required: false
8
- default: '18'
8
+ default: '20'
9
9
 
10
10
  runs:
11
11
  using: composite
12
12
  steps:
13
- - name: Install pnpm
14
- run: corepack enable
15
- shell: bash
13
+ - uses: pnpm/action-setup@v4
16
14
 
17
15
  - name: Setup node
18
16
  uses: actions/setup-node@v4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.4](https://github.com/ocavue/tsconfig/compare/v0.3.3...v0.3.4) (2025-04-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * inline extends ([#15](https://github.com/ocavue/tsconfig/issues/15)) ([158f94c](https://github.com/ocavue/tsconfig/commit/158f94c226e73e1263f22cf4d568e40b6e623757))
9
+
10
+ ## [0.3.3](https://github.com/ocavue/tsconfig/compare/v0.3.2...v0.3.3) (2025-04-13)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * put `tsBuildInfoFile` under `dist/` ([#13](https://github.com/ocavue/tsconfig/issues/13)) ([8d1f1d4](https://github.com/ocavue/tsconfig/commit/8d1f1d410c804a66a3b31dce92dd12d17e8faa55))
16
+
17
+ ## [0.3.2](https://github.com/ocavue/tsconfig/compare/v0.3.1...v0.3.2) (2025-04-11)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * trigger a release ([#11](https://github.com/ocavue/tsconfig/issues/11)) ([d908ad4](https://github.com/ocavue/tsconfig/commit/d908ad4f56b97b2a3ad3b8447153f2728bd94cac))
23
+
24
+ ## [0.3.1](https://github.com/ocavue/tsconfig/compare/v0.3.0...v0.3.1) (2025-04-11)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * tweak `outDir` paths ([#9](https://github.com/ocavue/tsconfig/issues/9)) ([2613270](https://github.com/ocavue/tsconfig/commit/2613270b453f9e1775990b391ca8295587716d41))
30
+
31
+ ## [0.3.0](https://github.com/ocavue/tsconfig/compare/v0.2.0...v0.3.0) (2025-04-11)
32
+
33
+
34
+ ### Features
35
+
36
+ * remove explicit `tsBuildInfoFile` ([#7](https://github.com/ocavue/tsconfig/issues/7)) ([8f87eb1](https://github.com/ocavue/tsconfig/commit/8f87eb194ebb354be8f07844575d43d23b3b1c86))
37
+
3
38
  ## [0.2.0](https://github.com/ocavue/tsconfig/compare/v0.1.3...v0.2.0) (2025-01-10)
4
39
 
5
40
 
package/dom/app.json CHANGED
@@ -1,7 +1,55 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": [
4
- "../es/app.json",
5
- "../shared/dom.json",
6
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": [
42
+ "ESNext",
43
+ "ESNext.AsyncIterable",
44
+ "DOM",
45
+ "DOM.Iterable",
46
+ "DOM.AsyncIterable"
47
+ ],
48
+
49
+ "module": "preserve",
50
+ "moduleResolution": "bundler",
51
+ "emitDeclarationOnly": true
52
+ },
53
+
54
+ "include": ["${configDir}/**/*"]
7
55
  }
@@ -1,7 +1,57 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": [
4
- "../es/build-bundler.json",
5
- "../shared/dom.json",
6
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": [
42
+ "ESNext",
43
+ "ESNext.AsyncIterable",
44
+ "DOM",
45
+ "DOM.Iterable",
46
+ "DOM.AsyncIterable"
47
+ ],
48
+
49
+ "module": "preserve",
50
+ "moduleResolution": "bundler",
51
+ "emitDeclarationOnly": true,
52
+
53
+ "rootDir": "${configDir}/src"
54
+ },
55
+
56
+ "include": ["src/**/*"]
7
57
  }
@@ -1,7 +1,56 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": [
4
- "../es/build-tsc.json",
5
- "../shared/dom.json",
6
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": [
42
+ "ESNext",
43
+ "ESNext.AsyncIterable",
44
+ "DOM",
45
+ "DOM.Iterable",
46
+ "DOM.AsyncIterable"
47
+ ],
48
+
49
+ "module": "NodeNext",
50
+ "moduleResolution": "NodeNext",
51
+
52
+ "rootDir": "${configDir}/src"
53
+ },
54
+
55
+ "include": ["src/**/*"]
7
56
  }
package/dom/root.json CHANGED
@@ -1,7 +1,55 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": [
4
- "../es/root.json",
5
- "../shared/dom.json",
6
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": [
42
+ "ESNext",
43
+ "ESNext.AsyncIterable",
44
+ "DOM",
45
+ "DOM.Iterable",
46
+ "DOM.AsyncIterable"
47
+ ],
48
+
49
+ "module": "preserve",
50
+ "moduleResolution": "bundler",
51
+ "emitDeclarationOnly": true
52
+ },
53
+
54
+ "include": ["${configDir}/*"]
7
55
  }
package/es/app.json CHANGED
@@ -1,12 +1,49 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/app",
5
- "tsBuildInfoFile": "${configDir}/node_modules/.cache/ocavue-tsconfig/app/tsconfig.tsbuildinfo"
6
- },
7
- "extends": [
8
- "../shared/base.json",
9
- "../include/all.json",
10
- "../module/bundler.json",
11
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": ["ESNext", "ESNext.AsyncIterable"],
42
+
43
+ "module": "preserve",
44
+ "moduleResolution": "bundler",
45
+ "emitDeclarationOnly": true
46
+ },
47
+
48
+ "include": ["${configDir}/**/*"]
12
49
  }
@@ -1,12 +1,51 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/build-bundler",
5
- "tsBuildInfoFile": "${configDir}/node_modules/.cache/ocavue-tsconfig/build-bundler/tsconfig.tsbuildinfo"
6
- },
7
- "extends": [
8
- "../shared/base.json",
9
- "../include/src.json",
10
- "../module/bundler.json",
11
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": ["ESNext", "ESNext.AsyncIterable"],
42
+
43
+ "module": "preserve",
44
+ "moduleResolution": "bundler",
45
+ "emitDeclarationOnly": true,
46
+
47
+ "rootDir": "${configDir}/src"
48
+ },
49
+
50
+ "include": ["src/**/*"]
12
51
  }
package/es/build-tsc.json CHANGED
@@ -1,12 +1,50 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "outDir": "${configDir}/dist",
5
- "tsBuildInfoFile": "${configDir}/dist/tsconfig.tsbuildinfo"
6
- },
7
- "extends": [
8
- "../shared/base.json",
9
- "../include/src.json",
10
- "../module/node.json",
11
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": ["ESNext", "ESNext.AsyncIterable"],
42
+
43
+ "module": "NodeNext",
44
+ "moduleResolution": "NodeNext",
45
+
46
+ "rootDir": "${configDir}/src"
47
+ },
48
+
49
+ "include": ["src/**/*"]
12
50
  }
package/es/root.json CHANGED
@@ -1,12 +1,49 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "outDir": "${configDir}/node_modules/.cache/ocavue-tsconfig/root",
5
- "tsBuildInfoFile": "${configDir}/node_modules/.cache/ocavue-tsconfig/root/tsconfig.tsbuildinfo"
6
- },
7
- "extends": [
8
- "../shared/base.json",
9
- "../include/root.json",
10
- "../module/bundler.json",
11
- ]
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
4
+ "compilerOptions": {
5
+ "target": "ES2020",
6
+
7
+ // Enable all strict type-checking options.
8
+ "strict": true,
9
+ // Disable unused local variables.
10
+ "noUnusedLocals": true,
11
+ // Force you to use "override" keyword when overriding a method.
12
+ "noImplicitOverride": true,
13
+ // Disable fallthrough cases in switch statements.
14
+ "noFallthroughCasesInSwitch": true,
15
+ // Emit additional JavaScript to ease support for importing CommonJS
16
+ // modules. This is necessary for some libraries with CommonJS/AMD/UMD
17
+ // modules.
18
+ "esModuleInterop": true,
19
+ // Skip type checking all .d.ts files. This improves performance and
20
+ // reduces the number of errors that you cannot fix directly.
21
+ "skipLibCheck": true,
22
+ // Allow JavaScript files to be included in the project.
23
+ "allowJs": true,
24
+ // Allow JSON files to be imported as modules.
25
+ "resolveJsonModule": true,
26
+ // Force TypeScript to consider all files as modules. This helps to avoid
27
+ // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
28
+ // errors.
29
+ "moduleDetection": "force",
30
+ // Prevents a few TS features which are unsafe when treating modules as
31
+ // isolated files.
32
+ "isolatedModules": true,
33
+ // Force you to use import type and export type
34
+ "verbatimModuleSyntax": true,
35
+ // Ensure that casing is correct in imports.
36
+ "forceConsistentCasingInFileNames": true,
37
+ // Allow TypeScript to cache build information and skip compilation
38
+ // when no changes are detected.
39
+ "composite": true,
40
+
41
+ "lib": ["ESNext", "ESNext.AsyncIterable"],
42
+
43
+ "module": "preserve",
44
+ "moduleResolution": "bundler",
45
+ "emitDeclarationOnly": true
46
+ },
47
+
48
+ "include": ["${configDir}/*"]
12
49
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocavue/tsconfig",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.3.4",
5
5
  "description": "A collection of reusable TypeScript configurations",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
@@ -19,5 +19,12 @@
19
19
  ],
20
20
  "publishConfig": {
21
21
  "access": "public"
22
+ },
23
+ "devDependencies": {
24
+ "@types/bun": "^1.2.9",
25
+ "prettier": "^3.5.3"
26
+ },
27
+ "scripts": {
28
+ "build": "bun build.ts"
22
29
  }
23
30
  }
package/include/all.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "include": [
4
- "${configDir}/**/*"
5
- ]
6
- }
package/include/root.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "include": [
4
- "${configDir}/*"
5
- ]
6
- }
package/include/src.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "rootDir": "${configDir}/src"
5
- },
6
- "include": [
7
- "${configDir}/src/**/*"
8
- ]
9
- }
@@ -1,8 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "module": "preserve",
5
- "moduleResolution": "bundler",
6
- "emitDeclarationOnly": true,
7
- }
8
- }
package/module/node.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "module": "NodeNext",
5
- "moduleResolution": "NodeNext",
6
- }
7
- }
package/shared/base.json DELETED
@@ -1,43 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "target": "ES2020",
5
- "lib": [
6
- "ESNext",
7
- "ESNext.AsyncIterable"
8
- ],
9
- // Enable all strict type-checking options.
10
- "strict": true,
11
- // Disable unused local variables.
12
- "noUnusedLocals": true,
13
- // Force you to use `override` keyword when overriding a method.
14
- "noImplicitOverride": true,
15
- // Disable fallthrough cases in switch statements.
16
- "noFallthroughCasesInSwitch": true,
17
- // Emit additional JavaScript to ease support for importing CommonJS
18
- // modules. This is necessary for some libraries with CommonJS/AMD/UMD
19
- // modules.
20
- "esModuleInterop": true,
21
- // Skip type checking all .d.ts files. This improves performance and
22
- // reduces the number of errors that you cannot fix directly.
23
- "skipLibCheck": true,
24
- // Allow JavaScript files to be included in the project.
25
- "allowJs": true,
26
- // Allow JSON files to be imported as modules.
27
- "resolveJsonModule": true,
28
- // Force TypeScript to consider all files as modules. This helps to avoid
29
- // ['cannot redeclare block-scoped variable'](https://www.totaltypescript.com/cannot-redeclare-block-scoped-variable)
30
- // errors.
31
- "moduleDetection": "force",
32
- // Prevents a few TS features which are unsafe when treating modules as
33
- // isolated files.
34
- "isolatedModules": true,
35
- // Force you to use import type and export type
36
- "verbatimModuleSyntax": true,
37
- // Ensure that casing is correct in imports.
38
- "forceConsistentCasingInFileNames": true,
39
- // Allow TypeScript to cache build information and skip compilation
40
- // when no changes are detected.
41
- "composite": true,
42
- }
43
- }
package/shared/dom.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "lib": [
5
- "ESNext",
6
- "ESNext.AsyncIterable",
7
- "DOM",
8
- "DOM.Iterable",
9
- "DOM.AsyncIterable"
10
- ],
11
- }
12
- }