Skip to content

Commit 588edef

Browse files
committedDec 14, 2023
Merge remote-tracking branch 'makenew/public' into node-20
2 parents 00c9415 + 07a74d7 commit 588edef

16 files changed

+397
-335
lines changed
 

‎.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="18"
1+
ARG VARIANT="20"
22

33
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
44

‎.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
"VARIANT": "18"
6+
"VARIANT": "20"
77
}
88
},
99
"extensions": [

‎.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
],
2121
"import/extensions": ["error", "ignorePackages"],
2222
"import/no-duplicates": ["error", { "prefer-inline": true }],
23+
"import/no-relative-parent-imports": "error",
2324
"simple-import-sort/imports": [
2425
"error",
2526
{

‎.github/actions/setup/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
node_version:
77
description: The Node.js version.
88
required: false
9-
default: '18'
9+
default: '20'
1010
registry_url:
1111
description: The Node.js package registry URL.
1212
required: false
@@ -20,14 +20,14 @@ runs:
2020
using: composite
2121
steps:
2222
- name: Setup Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
if: inputs.install_dependencies == 'true'
2525
with:
2626
cache: npm
2727
node-version: ${{ inputs.node_version }}
2828
registry-url: ${{ inputs.registry_url }}
2929
- name: Setup Node.js without cache
30-
uses: actions/setup-node@v3
30+
uses: actions/setup-node@v4
3131
if: inputs.install_dependencies == 'false'
3232
with:
3333
node-version: ${{ inputs.node_version }}

‎.github/workflows/_build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: The Node.js version.
99
type: string
1010
required: false
11-
default: '18'
11+
default: '20'
1212
outputs:
1313
artifact_name:
1414
description: The artifact name.
@@ -21,7 +21,7 @@ jobs:
2121
timeout-minutes: 30
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
- name: Setup
2626
uses: ./.github/actions/setup
2727
with:

‎.github/workflows/_publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
timeout-minutes: 30
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Setup
2929
uses: ./.github/actions/setup
3030
with:
@@ -38,7 +38,7 @@ jobs:
3838
id: meta
3939
run: echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
4040
- name: Publish
41-
uses: JS-DevTools/npm-publish@v2
41+
uses: JS-DevTools/npm-publish@v3
4242
with:
4343
access: public
4444
token: ${{ secrets.registry_token }}

‎.github/workflows/check.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
node:
21-
- '16'
2221
- '18'
22+
- '20'
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Setup
2727
uses: ./.github/actions/setup
2828
with:
@@ -43,14 +43,14 @@ jobs:
4343
os:
4444
- ubuntu-latest
4545
node:
46-
- '16'
4746
- '18'
47+
- '20'
4848
include:
4949
- os: ubuntu-latest
5050
os_name: Linux
5151
steps:
5252
- name: Setup Node.js
53-
uses: actions/setup-node@v3
53+
uses: actions/setup-node@v4
5454
with:
5555
node-version: ${{ matrix.node }}
5656
- name: Download artifact
@@ -59,7 +59,7 @@ jobs:
5959
name: ${{ needs.build.outputs.artifact_name }}
6060
path: .
6161
- name: Find packages
62-
uses: tj-actions/glob@v16
62+
uses: tj-actions/glob@v17
6363
id: packages
6464
with:
6565
files: '*.tgz'
@@ -91,11 +91,11 @@ jobs:
9191
fail-fast: false
9292
matrix:
9393
node:
94-
- '16'
9594
- '18'
95+
- '20'
9696
steps:
9797
- name: Checkout
98-
uses: actions/checkout@v3
98+
uses: actions/checkout@v4
9999
- name: Setup
100100
uses: ./.github/actions/setup
101101
with:

‎.github/workflows/format.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
2121
- name: Import GPG key
22-
uses: crazy-max/ghaction-import-gpg@v5
22+
uses: crazy-max/ghaction-import-gpg@v6
2323
with:
2424
git_user_signingkey: true
2525
git_commit_gpgsign: true
@@ -32,7 +32,7 @@ jobs:
3232
- name: Format
3333
run: npm run format
3434
- name: Commit
35-
uses: stefanzweifel/git-auto-commit-action@v4
35+
uses: stefanzweifel/git-auto-commit-action@v5
3636
if: always()
3737
with:
3838
commit_message: 'ci: Format code'

‎.github/workflows/generate.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
timeout-minutes: 30
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
ref: ${{ github.head_ref }}
2020
token: ${{ secrets.GH_TOKEN }}
2121
- name: Import GPG key
22-
uses: crazy-max/ghaction-import-gpg@v5
22+
uses: crazy-max/ghaction-import-gpg@v6
2323
with:
2424
git_user_signingkey: true
2525
git_commit_gpgsign: true
@@ -34,7 +34,7 @@ jobs:
3434
- name: Normalize package-lock.json
3535
run: npm install
3636
- name: Commit
37-
uses: stefanzweifel/git-auto-commit-action@v4
37+
uses: stefanzweifel/git-auto-commit-action@v5
3838
with:
3939
commit_message: 'ci: Generate code'
4040
commit_user_name: ${{ secrets.GIT_USER_NAME }}

‎.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
needs: build
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
2525
- name: Download artifact

‎.github/workflows/semantic-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
new_release_version: ${{ steps.release.outputs.new_release_version }}
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
- name: Semantic release
@@ -38,7 +38,7 @@ jobs:
3838
if: ${{ needs.semantic.outputs.new_release_published == 'true' }}
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 1
4444
- name: Release version ${{ steps.release.outputs.new_release_version }} on ${{ github.ref_name }}

‎.github/workflows/version.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
timeout-minutes: 30
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
token: ${{ secrets.GH_TOKEN }}
2323
- name: Import GPG key
24-
uses: crazy-max/ghaction-import-gpg@v5
24+
uses: crazy-max/ghaction-import-gpg@v6
2525
with:
2626
git_user_signingkey: true
2727
git_commit_gpgsign: true

‎.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/hydrogen
1+
20

‎package-lock.json

+361-300
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
"postformat": "eslint --ignore-path .gitignore --fix ."
8484
},
8585
"engines": {
86-
"node": ">=16.13.0",
87-
"npm": ">= 8.1.0"
86+
"node": ">=18.12.0",
87+
"npm": ">= 9.0.0"
8888
},
8989
"peerDependencies": {
9090
"type-fest": "^4.3.1",
@@ -96,24 +96,24 @@
9696
}
9797
},
9898
"devDependencies": {
99-
"@types/node": "^18.11.18",
99+
"@types/node": "^20.8.10",
100100
"concurrently": "^8.2.0",
101101
"del-cli": "^5.0.0",
102102
"eslint": "^8.9.0",
103103
"eslint-config-prettier": "^9.0.0",
104104
"eslint-config-standard": "^17.1.0",
105-
"eslint-config-standard-with-typescript": "^39.0.0",
105+
"eslint-config-standard-with-typescript": "^42.0.0",
106106
"eslint-plugin-node": "^11.1.0",
107107
"eslint-plugin-simple-import-sort": "^10.0.0",
108108
"eslint-plugin-unused-imports": "^3.0.0",
109109
"patch-package": "^8.0.0",
110110
"prettier": "^3.0.0",
111111
"tsc-alias": "^1.8.2",
112112
"tsup": "^7.1.0",
113-
"tsx": "^3.12.1",
113+
"tsx": "^4.6.2",
114114
"type-fest": "^4.3.1",
115115
"typedoc": "^0.25.2",
116-
"typescript": "^5.0.2",
116+
"typescript": "^5.1.0",
117117
"zod": "^3.21.4"
118118
}
119119
}

‎tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"compilerOptions": {
4+
"composite": true,
45
"noEmit": true,
56
"strict": true,
67
"module": "nodenext",
78
"esModuleInterop": true,
89
"target": "es2021",
910
"jsx": "react-jsx",
10-
"declaration": true,
1111
"sourceMap": true,
1212
"newLine": "lf",
1313
"verbatimModuleSyntax": true,

0 commit comments

Comments
 (0)
Please sign in to comment.