@zayne-labs/tsconfig 0.12.10 → 0.12.11

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zayne-labs/tsconfig",
3
3
  "type": "module",
4
- "version": "0.12.10",
4
+ "version": "0.12.11",
5
5
  "description": "A collection of TypeScript configurations for various projects, based on Total TypeScript's TSConfig Cheat Sheet, with a few additions.",
6
6
  "author": "Ryan Zayne",
7
7
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  /* Base Options: */
4
- "esModuleInterop": true,
4
+ // "esModuleInterop": true, // On by default from TS v6.0
5
5
  "skipLibCheck": true,
6
6
  "resolveJsonModule": true,
7
7
  "moduleDetection": "force",
@@ -20,7 +20,7 @@
20
20
  "noImplicitThis": true,
21
21
  "noFallthroughCasesInSwitch": true,
22
22
  "allowUnreachableCode": false,
23
- "allowSyntheticDefaultImports": true,
23
+ // "allowSyntheticDefaultImports": true, // On by default from TS v6.0
24
24
  "forceConsistentCasingInFileNames": true,
25
25
  "noErrorTruncation": true,
26
26
  "noUncheckedIndexedAccess": true
@@ -5,10 +5,10 @@
5
5
  /* If transpiling with TypeScript: */
6
6
  "module": "NodeNext",
7
7
  "sourceMap": true,
8
- "target": "ES2022",
8
+ // "target": "ES2025", // Set to the current version of JS by default (from TS 6.0)
9
9
  "outDir": "dist",
10
10
 
11
11
  /* If your code runs in the DOM: */
12
- "lib": ["ES2022", "DOM", "DOM.Iterable"]
12
+ "lib": ["ES2025", "DOM", "DOM.Iterable"]
13
13
  }
14
14
  }
@@ -5,7 +5,7 @@
5
5
  /* If transpiling with TypeScript: */
6
6
  "module": "NodeNext",
7
7
  "sourceMap": true,
8
- "target": "ES2022",
8
+ // "target": "ES2025", // Set to the current version of JS by default (from TS 6.0)
9
9
  "outDir": "dist",
10
10
 
11
11
  /* If you're building for a library: */
@@ -16,6 +16,6 @@
16
16
  "declarationMap": true,
17
17
 
18
18
  /* If your code runs in the DOM: */
19
- "lib": ["ES2022", "DOM", "DOM.Iterable"]
19
+ "lib": ["ES2025", "DOM", "DOM.Iterable"]
20
20
  }
21
21
  }
@@ -5,13 +5,13 @@
5
5
  /* If transpiling with TypeScript: */
6
6
  "module": "NodeNext",
7
7
  "sourceMap": true,
8
- "target": "ES2022",
8
+ // "target": "ES2025", // Set to the current version of JS by default (from TS 6.0)
9
9
  "outDir": "dist",
10
10
 
11
11
  /* If you're building for a library: */
12
12
  "declaration": true,
13
13
 
14
14
  /* If your code runs in the DOM: */
15
- "lib": ["ES2022", "DOM", "DOM.Iterable"]
15
+ "lib": ["ES2025", "DOM", "DOM.Iterable"]
16
16
  }
17
17
  }
@@ -5,10 +5,10 @@
5
5
  /* If transpiling with TypeScript: */
6
6
  "module": "NodeNext",
7
7
  "sourceMap": true,
8
- "target": "ES2022",
8
+ // "target": "ES2025", // Set to the current version of JS by default (from TS 6.0)
9
9
  "outDir": "dist",
10
10
 
11
11
  /* If your code doesn't run in the DOM: */
12
- "lib": ["ES2022"]
12
+ "lib": ["ES2025"]
13
13
  }
14
14
  }
@@ -5,7 +5,7 @@
5
5
  /* If transpiling with TypeScript: */
6
6
  "module": "NodeNext",
7
7
  "sourceMap": true,
8
- "target": "ES2022",
8
+ // "target": "ES2025", // Set to the current version of JS by default (from TS 6.0)
9
9
  "outDir": "dist",
10
10
 
11
11
  /* If you're building for a library: */
@@ -16,6 +16,6 @@
16
16
  "declarationMap": true,
17
17
 
18
18
  /* If your code doesn't run in the DOM: */
19
- "lib": ["ES2022"]
19
+ "lib": ["ES2025"]
20
20
  }
21
21
  }
@@ -5,13 +5,13 @@
5
5
  /* If transpiling with TypeScript: */
6
6
  "module": "NodeNext",
7
7
  "sourceMap": true,
8
- "target": "ES2022",
8
+ // "target": "ES2025", // Set to the current version of JS by default (from TS 6.0)
9
9
  "outDir": "dist",
10
10
 
11
11
  /* If you're building for a library: */
12
12
  "declaration": true,
13
13
 
14
14
  /* If your code doesn't run in the DOM: */
15
- "lib": ["ES2022"]
15
+ "lib": ["ES2025"]
16
16
  }
17
17
  }