File tree 4 files changed +152
-433
lines changed
4 files changed +152
-433
lines changed Original file line number Diff line number Diff line change 9
9
- run : corepack enable
10
10
- uses : actions/setup-node@v4
11
11
with :
12
- node-version : 20
12
+ node-version : 22
13
13
cache : yarn
14
14
- run : yarn install --immutable
15
15
- run : yarn format:check
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ TypeScript template repository with typescript-eslint (airbnb config) and ts-nod
9
9
Dependabot keeps the dependencies up to date.
10
10
11
11
- ** Build tool** : yarn (can be replaced with npm: ` rm yarn.lock && npm install ` )
12
- - ** Target Node version** : 18 .x (es2023)
12
+ - ** Target Node version** : 22 .x ([ es2023] ( https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping ) )
13
13
- ** Structure** : ` src/ ` for TypeScript source files and ` build/ ` for output
14
14
- Also includes a default ` .editorconfig ` with 2-space indents
15
15
@@ -24,17 +24,4 @@ Scripts:
24
24
25
25
## use with react
26
26
27
- ``` diff
28
- diff --git a/.eslintrc b/.eslintrc
29
- index e755856..bbaeee5 100644
30
- --- a/.eslintrc
31
- +++ b/.eslintrc
32
- @@ -1,3 +1,6 @@
33
- {
34
- - "extends": ["./node_modules/@nihalgonsalves/esconfig/.eslintrc"]
35
- + "extends": [
36
- + "./node_modules/@nihalgonsalves/esconfig/.eslintrc",
37
- + "./node_modules/@nihalgonsalves/esconfig/.eslintrc.react"
38
- + ]
39
- }
40
- ```
27
+ See < https://github.com/nihalgonsalves/esconfig >
Original file line number Diff line number Diff line change 5
5
"type" : " module" ,
6
6
"author" : " " ,
7
7
"license" : " " ,
8
- "packageManager" :
" [email protected] .0 +sha512.837566d24eec14ec0f5f1411adb544e892b3454255e61fdef8fd05f3429480102806bac7446bc9daff3896b01ae4b62d00096c7e989f1596f2af10b927532f39 " ,
8
+ "packageManager" :
" [email protected] .1 +sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d " ,
9
9
"scripts" : {
10
10
"dev" : " tsx src/index.ts" ,
11
11
"start" : " NODE_ENV=production node build/index.js" ,
16
16
"format:check" : " prettier . --check"
17
17
},
18
18
"devDependencies" : {
19
- "@nihalgonsalves/esconfig" : " ^0.10.13 " ,
20
- "@types/node" : " 20 " ,
21
- "eslint" : " ^9.13 .0" ,
19
+ "@nihalgonsalves/esconfig" : " ^0.10.14 " ,
20
+ "@types/node" : " ^22 " ,
21
+ "eslint" : " ^9.14 .0" ,
22
22
"lefthook" : " ^1.8.2" ,
23
23
"prettier" : " ^3.3.3" ,
24
24
"tsx" : " ^4.19.2" ,
25
25
"typescript" : " ^5.6.3" ,
26
- "typescript-eslint" : " ^8.12.2 "
26
+ "typescript-eslint" : " ^8.13.0 "
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments