@foray1010/tsconfig 15.0.0 → 16.0.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
@@ -3,6 +3,27 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [16.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/tsconfig@15.0.0...@foray1010/tsconfig@16.0.0) (2026-05-17)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - **tsconfig:** exported tsconfig are now in jsonc format
11
+ - drop node v20 and v25
12
+ - **deps:** require typescript `^6.0.3`
13
+
14
+ ### Features
15
+
16
+ - support es2024
17
+
18
+ ### Miscellaneous Chores
19
+
20
+ - **deps:** require typescript `^6.0.3`
21
+ - drop node v20 and v25
22
+
23
+ ### Code Refactoring
24
+
25
+ - **tsconfig:** exported tsconfig are now in jsonc format
26
+
6
27
  ## [15.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/tsconfig@14.0.0...@foray1010/tsconfig@15.0.0) (2025-10-31)
7
28
 
8
29
  ### ⚠ BREAKING CHANGES
package/README.md CHANGED
@@ -9,42 +9,41 @@ If you need to compile TypeScript, use [@foray1010/babel-preset](../babel-preset
9
9
  1. `yarn add -DE @foray1010/tsconfig typescript`
10
10
 
11
11
  2. Create an `tsconfig.json` in the project root
12
-
13
- - For Node.js app (type checking only):
14
-
15
- ```json
16
- {
17
- "$schema": "https://json.schemastore.org/tsconfig",
18
- "extends": "@foray1010/tsconfig/tsconfig.base.json"
19
- }
20
- ```
21
-
22
- - For general frontend application (type checking only):
23
-
24
- ```json
25
- {
26
- "$schema": "https://json.schemastore.org/tsconfig",
27
- "extends": "@foray1010/tsconfig/tsconfig.browser.json"
28
- }
29
- ```
30
-
31
- - For react.js application (type checking only):
32
-
33
- ```json
34
- {
35
- "$schema": "https://json.schemastore.org/tsconfig",
36
- "extends": "@foray1010/tsconfig/tsconfig.react.json"
37
- }
38
- ```
39
-
40
- - For library (type checking and generate typings):
41
-
42
- ```json
43
- {
44
- "$schema": "https://json.schemastore.org/tsconfig",
45
- "extends": [
46
- "@foray1010/tsconfig/tsconfig.base.json",
47
- "@foray1010/tsconfig/tsconfig.library.json"
48
- ]
49
- }
50
- ```
12
+ - For Node.js app (type checking only):
13
+
14
+ ```jsonc
15
+ {
16
+ "$schema": "https://json.schemastore.org/tsconfig",
17
+ "extends": "@foray1010/tsconfig/tsconfig.base.json",
18
+ }
19
+ ```
20
+
21
+ - For general frontend application (type checking only):
22
+
23
+ ```jsonc
24
+ {
25
+ "$schema": "https://json.schemastore.org/tsconfig",
26
+ "extends": "@foray1010/tsconfig/tsconfig.browser.json",
27
+ }
28
+ ```
29
+
30
+ - For react.js application (type checking only):
31
+
32
+ ```jsonc
33
+ {
34
+ "$schema": "https://json.schemastore.org/tsconfig",
35
+ "extends": "@foray1010/tsconfig/tsconfig.react.json",
36
+ }
37
+ ```
38
+
39
+ - For library (type checking and generate typings):
40
+
41
+ ```jsonc
42
+ {
43
+ "$schema": "https://json.schemastore.org/tsconfig",
44
+ "extends": [
45
+ "@foray1010/tsconfig/tsconfig.base.json",
46
+ "@foray1010/tsconfig/tsconfig.library.json",
47
+ ],
48
+ }
49
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/tsconfig",
4
- "version": "15.0.0",
4
+ "version": "16.0.0",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/tsconfig#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -18,16 +18,16 @@
18
18
  "type:check": "echo 'Skipped: non-ts package'"
19
19
  },
20
20
  "dependencies": {
21
- "@tsconfig/node20": "^20.1.6"
21
+ "@tsconfig/node22": "^22.0.5"
22
22
  },
23
23
  "peerDependencies": {
24
- "typescript": "^5.9.3"
24
+ "typescript": "^6.0.3"
25
25
  },
26
26
  "engines": {
27
- "node": "^20.19.0 || ^22.12.0 || >=24.11.0"
27
+ "node": "^22.12.0 || ^24.11.0 || >=26"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "f4d31b1d0075b0c77a6ae59e7442a977df4b4d15"
32
+ "gitHead": "b0dcdf4522afb97a5ee7088c20299aad17738056"
33
33
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": "@tsconfig/node20/tsconfig.json",
3
+ "extends": "@tsconfig/node22/tsconfig.json",
4
4
  "compilerOptions": {
5
5
  "erasableSyntaxOnly": true,
6
6
  "exactOptionalPropertyTypes": true,
@@ -15,6 +15,6 @@
15
15
  "noUncheckedSideEffectImports": true,
16
16
  "resolveJsonModule": true,
17
17
  "useDefineForClassFields": true,
18
- "verbatimModuleSyntax": true
19
- }
18
+ "verbatimModuleSyntax": true,
19
+ },
20
20
  }
@@ -2,8 +2,8 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "extends": "./tsconfig.base.json",
4
4
  "compilerOptions": {
5
- "lib": ["ES2023", "DOM", "DOM.Iterable"],
5
+ "lib": ["ES2024", "DOM"],
6
6
  "module": "ESNext",
7
- "moduleResolution": "Bundler"
8
- }
7
+ "moduleResolution": "Bundler",
8
+ },
9
9
  }
@@ -4,6 +4,6 @@
4
4
  "declaration": true,
5
5
  "emitDeclarationOnly": true,
6
6
  "noEmit": false,
7
- "outDir": "dist"
8
- }
7
+ "outDir": "dist",
8
+ },
9
9
  }
@@ -2,6 +2,6 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "extends": "./tsconfig.browser.json",
4
4
  "compilerOptions": {
5
- "jsx": "react-jsx"
6
- }
5
+ "jsx": "react-jsx",
6
+ },
7
7
  }