@w0s/tsconfig 2.0.1 → 3.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # tsconfig
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40w0s%2Ftsconfig.svg)](https://www.npmjs.com/package/@w0s/tsconfig)
4
- [![Workflow status](https://github.com/SaekiTominaga/w0s/actions/workflows/typescript.yml/badge.svg)](https://github.com/SaekiTominaga/w0s/actions/workflows/typescript.yml)
4
+ [![CI status](https://github.com/SaekiTominaga/w0s/actions/workflows/ci.yml/badge.svg)](https://github.com/SaekiTominaga/w0s/actions/workflows/ci.yml)
5
5
 
6
6
  [TSConfig](https://www.typescriptlang.org/tsconfig) file used on my personal website ([`w0s.jp`](https://github.com/SaekiTominaga/w0s.jp)).
7
7
 
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "name": "@w0s/tsconfig",
3
- "version": "2.0.1",
3
+ "version": "3.1.1",
4
4
  "description": "TSConfig file used on `w0s.jp`",
5
5
  "keywords": [
6
6
  "tsconfig"
7
7
  ],
8
+ "license": "MIT",
9
+ "author": "Saeki Tominaga",
8
10
  "repository": {
9
11
  "type": "git",
10
12
  "url": "git+https://github.com/SaekiTominaga/config.git"
11
13
  },
12
- "license": "MIT",
13
- "author": "Saeki Tominaga",
14
+ "files": [
15
+ "tsconfig.json",
16
+ "tsconfig-*.json"
17
+ ],
14
18
  "type": "module",
15
19
  "exports": {
16
20
  ".": "./tsconfig.json",
17
21
  "./*": "./tsconfig-*.json"
18
22
  },
19
- "files": [
20
- "tsconfig.json",
21
- "tsconfig-*.json"
22
- ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
23
26
  "scripts": {
24
27
  "test": "tsc -p __tests__/tsconfig-valid.json",
25
28
  "test:invalid": "tsc -p __tests__/tsconfig-invalid.json"
26
29
  },
27
30
  "devDependencies": {
28
- "typescript": "^5.9.3"
31
+ "typescript": "^7.0.2"
29
32
  },
30
33
  "peerDependencies": {
31
- "typescript": "^5.8.0"
32
- },
33
- "publishConfig": {
34
- "access": "public"
34
+ "typescript": "^6.0.0 || ^7.0.0"
35
35
  }
36
36
  }
@@ -2,7 +2,7 @@
2
2
  "extends": "./tsconfig.json",
3
3
  "compilerOptions": {
4
4
  /* Modules */
5
- "module": "es2022",
5
+ "module": "esnext", // default <https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html#simple-default-changes>
6
6
  "moduleResolution": "bundler"
7
7
  }
8
8
  }
@@ -3,6 +3,7 @@
3
3
  "compilerOptions": {
4
4
  /* Modules */
5
5
  "module": "node18",
6
- "moduleResolution": "node16"
6
+ "moduleResolution": "node16",
7
+ "types": ["node"]
7
8
  }
8
9
  }
package/tsconfig.json CHANGED
@@ -11,22 +11,18 @@
11
11
  "noUncheckedIndexedAccess": true,
12
12
  "noUnusedLocals": true,
13
13
  "noUnusedParameters": true,
14
- "strict": true,
15
14
 
16
15
  /* Modules */
17
16
  "rewriteRelativeImportExtensions": true,
18
17
 
19
- /* Emit */
20
- "newLine": "lf",
21
-
22
18
  /* Interop Constraints */
23
19
  "erasableSyntaxOnly": true,
24
- "esModuleInterop": true,
20
+ "esModuleInterop": true, // default <https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html#deprecated---esmoduleinterop-false-and---allowsyntheticdefaultimports-false>
25
21
  "forceConsistentCasingInFileNames": true,
26
22
  "verbatimModuleSyntax": true,
27
23
 
28
24
  /* Language and Environment */
29
- "target": "es2024",
25
+ "target": "es2025",
30
26
 
31
27
  /* Projects */
32
28
  "incremental": true,