@arnaud-barre/tsl-config 0.1.0 → 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.
Files changed (2) hide show
  1. package/README.md +31 -9
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -25,7 +25,7 @@ export default defineConfig({
25
25
  }
26
26
  ```
27
27
 
28
- ## TS config (5.8)
28
+ ## TS config (5.9)
29
29
 
30
30
  ### Web project
31
31
 
@@ -38,7 +38,7 @@ export default defineConfig({
38
38
  "module": "ESNext",
39
39
  "moduleDetection": "force",
40
40
  "lib": ["ES2022", "DOM", "DOM.Iterable"],
41
- "types": ["vite/client", "tsl/patches"],
41
+ "types": ["vite/client"],
42
42
  "skipLibCheck": true,
43
43
 
44
44
  /* Bundler mode */
@@ -55,14 +55,12 @@ export default defineConfig({
55
55
  "noFallthroughCasesInSwitch": true,
56
56
  "useUnknownInCatchVariables": true,
57
57
  "noUncheckedSideEffectImports": true,
58
- "noPropertyAccessFromIndexSignature": true,
59
-
60
- "plugins": [{ "name": "tsl/plugin" }]
58
+ "noPropertyAccessFromIndexSignature": true
61
59
  }
62
60
  }
63
61
  ```
64
62
 
65
- ### Node project (20-22)
63
+ ### Node project (22)
66
64
 
67
65
  ```json
68
66
  {
@@ -71,8 +69,32 @@ export default defineConfig({
71
69
  "target": "ES2022",
72
70
  "module": "ESNext",
73
71
  "moduleDetection": "force",
74
- "lib": ["ES2023"],
75
- "types": ["node", "tsl/patches"],
72
+ "lib": ["es2024", "ESNext.Array", "ESNext.Collection", "ESNext.Iterator"],
73
+ "types": ["node"],
74
+ "skipLibCheck": true
75
+
76
+ /* Same as web */
77
+ }
78
+ }
79
+ ```
80
+
81
+ ### Node project (24)
82
+
83
+ ```json
84
+ {
85
+ "include": ["**/*.ts"],
86
+ "compilerOptions": {
87
+ "target": "ES2024",
88
+ "module": "ESNext",
89
+ "moduleDetection": "force",
90
+ "lib": [
91
+ "es2024",
92
+ "ESNext.Array",
93
+ "ESNext.Collection",
94
+ "ESNext.Iterator",
95
+ "ESNext.Promise"
96
+ ],
97
+ "types": ["node"],
76
98
  "skipLibCheck": true
77
99
 
78
100
  /* Same as web */
@@ -80,7 +102,7 @@ export default defineConfig({
80
102
  }
81
103
  ```
82
104
 
83
- ## Prettier config (3.5.3)
105
+ ## Prettier config (3.6.2)
84
106
 
85
107
  ### Web projects
86
108
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arnaud-barre/tsl-config",
3
3
  "description": "TS-React focused tsl configuration",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "author": "Arnaud Barré (https://github.com/ArnaudBarre)",
6
6
  "license": "MIT",
7
7
  "repository": "github:ArnaudBarre/tsl-config",
@@ -10,7 +10,7 @@
10
10
  ".": "./index.js"
11
11
  },
12
12
  "peerDependencies": {
13
- "tsl": "^1.0.16",
14
- "typescript": "~5.8"
13
+ "tsl": "^1.0.22",
14
+ "typescript": "~5.9"
15
15
  }
16
16
  }