Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node v20 #409

Merged
merged 35 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ab85f1d
Update dependencies
razor-x Aug 24, 2023
2ab32a3
1.2.3
seambot Aug 24, 2023
4c02f8f
Merge branch 'main' into public
razor-x Aug 25, 2023
d0d9077
Always makenew branch to main
razor-x Aug 25, 2023
68e5bf2
Merge branch 'main' into public
razor-x Aug 25, 2023
9acb265
Only build on linux
razor-x Aug 29, 2023
3f2333f
Merge branch 'main' into public
razor-x Aug 29, 2023
af96389
Update to semantic-release action v4
razor-x Aug 31, 2023
8e866b5
1.2.4
seambot Aug 31, 2023
3f6cd9a
Merge branch 'main' into public
razor-x Sep 7, 2023
4e8f9e6
Update eslint dependencies
razor-x Sep 7, 2023
5a55a27
1.2.5
seambot Sep 7, 2023
d51efeb
Merge branch 'main' into public
razor-x Sep 7, 2023
cd4277b
Only install check on linux
razor-x Sep 7, 2023
1a334b1
1.2.6
seambot Sep 7, 2023
5c2a053
Merge branch 'main' into public
razor-x Sep 7, 2023
725a079
Run npm update
razor-x Oct 4, 2023
d44713d
Run npm update
razor-x Oct 6, 2023
42c6f2e
1.2.7
seambot Oct 6, 2023
93d990a
Add "import/no-relative-parent-imports": "error"
razor-x Oct 6, 2023
5a1db81
1.2.8
seambot Oct 6, 2023
479a964
Merge branch 'main' into public
razor-x Oct 6, 2023
33eb6d1
Update to Node.js v20
razor-x Dec 8, 2023
48a3341
Set composite true in tsconfig.json
razor-x Dec 8, 2023
14f8ada
Update ava.config.js for Node v20
razor-x Dec 8, 2023
08f3c23
Update eslint-config-standard-with-typescript
razor-x Dec 8, 2023
f1945f7
Update to tsx v4
razor-x Dec 8, 2023
0e9e338
Update to AVA v6
razor-x Dec 8, 2023
8a6c909
Update all action versions
razor-x Dec 8, 2023
b9390d5
Update eslint-config-standard-with-typescript to v42
razor-x Dec 12, 2023
2887311
1.2.9
seambot Dec 12, 2023
07a74d7
Merge branch 'main' into public
razor-x Dec 12, 2023
588edef
Merge remote-tracking branch 'makenew/public' into node-20
razor-x Dec 14, 2023
be51ae3
Revert "Set composite true in tsconfig.json"
razor-x Dec 14, 2023
d348e09
Update to tsup v8
razor-x Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="18"
ARG VARIANT="20"

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

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "18"
"VARIANT": "20"
}
},
"extensions": [
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
],
"import/extensions": ["error", "ignorePackages"],
"import/no-duplicates": ["error", { "prefer-inline": true }],
"import/no-relative-parent-imports": "error",
"simple-import-sort/imports": [
"error",
{
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '18'
default: '20'
registry_url:
description: The Node.js package registry URL.
required: false
Expand All @@ -20,14 +20,14 @@ runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: inputs.install_dependencies == 'true'
with:
cache: npm
node-version: ${{ inputs.node_version }}
registry-url: ${{ inputs.registry_url }}
- name: Setup Node.js without cache
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: inputs.install_dependencies == 'false'
with:
node-version: ${{ inputs.node_version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Node.js version.
type: string
required: false
default: '18'
default: '20'
outputs:
artifact_name:
description: The artifact name.
Expand All @@ -21,7 +21,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand All @@ -38,7 +38,7 @@ jobs:
id: meta
run: echo "tgz=$(ls *.tgz | head -n1)" >> $GITHUB_OUTPUT
- name: Publish
uses: JS-DevTools/npm-publish@v2
uses: JS-DevTools/npm-publish@v3
with:
access: public
token: ${{ secrets.registry_token }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
fail-fast: false
matrix:
node:
- '16'
- '18'
- '20'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand All @@ -43,14 +43,14 @@ jobs:
os:
- ubuntu-latest
node:
- '16'
- '18'
- '20'
include:
- os: ubuntu-latest
os_name: Linux
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Download artifact
Expand All @@ -59,7 +59,7 @@ jobs:
name: ${{ needs.build.outputs.artifact_name }}
path: .
- name: Find packages
uses: tj-actions/glob@v16
uses: tj-actions/glob@v17
id: packages
with:
files: '*.tgz'
Expand Down Expand Up @@ -91,11 +91,11 @@ jobs:
fail-fast: false
matrix:
node:
- '16'
- '18'
- '20'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
git_user_signingkey: true
git_commit_gpgsign: true
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Format
run: npm run format
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
if: always()
with:
commit_message: 'ci: Format code'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
git_user_signingkey: true
git_commit_gpgsign: true
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Normalize package-lock.json
run: npm install
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'ci: Generate code'
commit_user_name: ${{ secrets.GIT_USER_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
needs: build
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download artifact
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
new_release_version: ${{ steps.release.outputs.new_release_version }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Semantic release
Expand All @@ -38,7 +38,7 @@ jobs:
if: ${{ needs.semantic.outputs.new_release_published == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Release version ${{ steps.release.outputs.new_release_version }} on ${{ github.ref_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
git_user_signingkey: true
git_commit_gpgsign: true
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
20
Loading