File tree 16 files changed +397
-335
lines changed
16 files changed +397
-335
lines changed Original file line number Diff line number Diff line change 1
- ARG VARIANT="18 "
1
+ ARG VARIANT="20 "
2
2
3
3
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
4
4
Original file line number Diff line number Diff line change 3
3
"build" : {
4
4
"dockerfile" : " Dockerfile" ,
5
5
"args" : {
6
- "VARIANT" : " 18 "
6
+ "VARIANT" : " 20 "
7
7
}
8
8
},
9
9
"extensions" : [
Original file line number Diff line number Diff line change 20
20
],
21
21
"import/extensions" : [" error" , " ignorePackages" ],
22
22
"import/no-duplicates" : [" error" , { "prefer-inline" : true }],
23
+ "import/no-relative-parent-imports" : " error" ,
23
24
"simple-import-sort/imports" : [
24
25
" error" ,
25
26
{
Original file line number Diff line number Diff line change 6
6
node_version :
7
7
description : The Node.js version.
8
8
required : false
9
- default : ' 18 '
9
+ default : ' 20 '
10
10
registry_url :
11
11
description : The Node.js package registry URL.
12
12
required : false
@@ -20,14 +20,14 @@ runs:
20
20
using : composite
21
21
steps :
22
22
- name : Setup Node.js
23
- uses : actions/setup-node@v3
23
+ uses : actions/setup-node@v4
24
24
if : inputs.install_dependencies == 'true'
25
25
with :
26
26
cache : npm
27
27
node-version : ${{ inputs.node_version }}
28
28
registry-url : ${{ inputs.registry_url }}
29
29
- name : Setup Node.js without cache
30
- uses : actions/setup-node@v3
30
+ uses : actions/setup-node@v4
31
31
if : inputs.install_dependencies == 'false'
32
32
with :
33
33
node-version : ${{ inputs.node_version }}
Original file line number Diff line number Diff line change 8
8
description : The Node.js version.
9
9
type : string
10
10
required : false
11
- default : ' 18 '
11
+ default : ' 20 '
12
12
outputs :
13
13
artifact_name :
14
14
description : The artifact name.
21
21
timeout-minutes : 30
22
22
steps :
23
23
- name : Checkout
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@v4
25
25
- name : Setup
26
26
uses : ./.github/actions/setup
27
27
with :
Original file line number Diff line number Diff line change 24
24
timeout-minutes : 30
25
25
steps :
26
26
- name : Checkout
27
- uses : actions/checkout@v3
27
+ uses : actions/checkout@v4
28
28
- name : Setup
29
29
uses : ./.github/actions/setup
30
30
with :
38
38
id : meta
39
39
run : echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
40
40
- name : Publish
41
- uses : JS-DevTools/npm-publish@v2
41
+ uses : JS-DevTools/npm-publish@v3
42
42
with :
43
43
access : public
44
44
token : ${{ secrets.registry_token }}
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
18
18
fail-fast : false
19
19
matrix :
20
20
node :
21
- - ' 16'
22
21
- ' 18'
22
+ - ' 20'
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v3
25
+ uses : actions/checkout@v4
26
26
- name : Setup
27
27
uses : ./.github/actions/setup
28
28
with :
@@ -43,14 +43,14 @@ jobs:
43
43
os :
44
44
- ubuntu-latest
45
45
node :
46
- - ' 16'
47
46
- ' 18'
47
+ - ' 20'
48
48
include :
49
49
- os : ubuntu-latest
50
50
os_name : Linux
51
51
steps :
52
52
- name : Setup Node.js
53
- uses : actions/setup-node@v3
53
+ uses : actions/setup-node@v4
54
54
with :
55
55
node-version : ${{ matrix.node }}
56
56
- name : Download artifact
59
59
name : ${{ needs.build.outputs.artifact_name }}
60
60
path : .
61
61
- name : Find packages
62
- uses : tj-actions/glob@v16
62
+ uses : tj-actions/glob@v17
63
63
id : packages
64
64
with :
65
65
files : ' *.tgz'
@@ -91,11 +91,11 @@ jobs:
91
91
fail-fast : false
92
92
matrix :
93
93
node :
94
- - ' 16'
95
94
- ' 18'
95
+ - ' 20'
96
96
steps :
97
97
- name : Checkout
98
- uses : actions/checkout@v3
98
+ uses : actions/checkout@v4
99
99
- name : Setup
100
100
uses : ./.github/actions/setup
101
101
with :
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
timeout-minutes : 30
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
with :
19
19
ref : ${{ github.head_ref }}
20
20
token : ${{ secrets.GH_TOKEN }}
21
21
- name : Import GPG key
22
- uses : crazy-max/ghaction-import-gpg@v5
22
+ uses : crazy-max/ghaction-import-gpg@v6
23
23
with :
24
24
git_user_signingkey : true
25
25
git_commit_gpgsign : true
32
32
- name : Format
33
33
run : npm run format
34
34
- name : Commit
35
- uses : stefanzweifel/git-auto-commit-action@v4
35
+ uses : stefanzweifel/git-auto-commit-action@v5
36
36
if : always()
37
37
with :
38
38
commit_message : ' ci: Format code'
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
timeout-minutes : 30
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
with :
19
19
ref : ${{ github.head_ref }}
20
20
token : ${{ secrets.GH_TOKEN }}
21
21
- name : Import GPG key
22
- uses : crazy-max/ghaction-import-gpg@v5
22
+ uses : crazy-max/ghaction-import-gpg@v6
23
23
with :
24
24
git_user_signingkey : true
25
25
git_commit_gpgsign : true
34
34
- name : Normalize package-lock.json
35
35
run : npm install
36
36
- name : Commit
37
- uses : stefanzweifel/git-auto-commit-action@v4
37
+ uses : stefanzweifel/git-auto-commit-action@v5
38
38
with :
39
39
commit_message : ' ci: Generate code'
40
40
commit_user_name : ${{ secrets.GIT_USER_NAME }}
Original file line number Diff line number Diff line change 19
19
needs : build
20
20
steps :
21
21
- name : Checkout
22
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
23
23
with :
24
24
fetch-depth : 0
25
25
- name : Download artifact
Original file line number Diff line number Diff line change 22
22
new_release_version : ${{ steps.release.outputs.new_release_version }}
23
23
steps :
24
24
- name : Checkout
25
- uses : actions/checkout@v3
25
+ uses : actions/checkout@v4
26
26
with :
27
27
fetch-depth : 0
28
28
- name : Semantic release
38
38
if : ${{ needs.semantic.outputs.new_release_published == 'true' }}
39
39
steps :
40
40
- name : Checkout
41
- uses : actions/checkout@v3
41
+ uses : actions/checkout@v4
42
42
with :
43
43
fetch-depth : 1
44
44
- name : Release version ${{ steps.release.outputs.new_release_version }} on ${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
timeout-minutes : 30
18
18
steps :
19
19
- name : Checkout
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
21
21
with :
22
22
token : ${{ secrets.GH_TOKEN }}
23
23
- name : Import GPG key
24
- uses : crazy-max/ghaction-import-gpg@v5
24
+ uses : crazy-max/ghaction-import-gpg@v6
25
25
with :
26
26
git_user_signingkey : true
27
27
git_commit_gpgsign : true
Original file line number Diff line number Diff line change 1
- lts/hydrogen
1
+ 20
Original file line number Diff line number Diff line change 83
83
"postformat" : " eslint --ignore-path .gitignore --fix ."
84
84
},
85
85
"engines" : {
86
- "node" : " >=16.13 .0" ,
87
- "npm" : " >= 8.1 .0"
86
+ "node" : " >=18.12 .0" ,
87
+ "npm" : " >= 9.0 .0"
88
88
},
89
89
"peerDependencies" : {
90
90
"type-fest" : " ^4.3.1" ,
96
96
}
97
97
},
98
98
"devDependencies" : {
99
- "@types/node" : " ^18.11.18 " ,
99
+ "@types/node" : " ^20.8.10 " ,
100
100
"concurrently" : " ^8.2.0" ,
101
101
"del-cli" : " ^5.0.0" ,
102
102
"eslint" : " ^8.9.0" ,
103
103
"eslint-config-prettier" : " ^9.0.0" ,
104
104
"eslint-config-standard" : " ^17.1.0" ,
105
- "eslint-config-standard-with-typescript" : " ^39 .0.0" ,
105
+ "eslint-config-standard-with-typescript" : " ^42 .0.0" ,
106
106
"eslint-plugin-node" : " ^11.1.0" ,
107
107
"eslint-plugin-simple-import-sort" : " ^10.0.0" ,
108
108
"eslint-plugin-unused-imports" : " ^3.0.0" ,
109
109
"patch-package" : " ^8.0.0" ,
110
110
"prettier" : " ^3.0.0" ,
111
111
"tsc-alias" : " ^1.8.2" ,
112
112
"tsup" : " ^7.1.0" ,
113
- "tsx" : " ^3.12.1 " ,
113
+ "tsx" : " ^4.6.2 " ,
114
114
"type-fest" : " ^4.3.1" ,
115
115
"typedoc" : " ^0.25.2" ,
116
- "typescript" : " ^5.0.2 " ,
116
+ "typescript" : " ^5.1.0 " ,
117
117
"zod" : " ^3.21.4"
118
118
}
119
119
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://json.schemastore.org/tsconfig" ,
3
3
"compilerOptions" : {
4
+ "composite" : true ,
4
5
"noEmit" : true ,
5
6
"strict" : true ,
6
7
"module" : " nodenext" ,
7
8
"esModuleInterop" : true ,
8
9
"target" : " es2021" ,
9
10
"jsx" : " react-jsx" ,
10
- "declaration" : true ,
11
11
"sourceMap" : true ,
12
12
"newLine" : " lf" ,
13
13
"verbatimModuleSyntax" : true ,
You can’t perform that action at this time.
0 commit comments