Skip to content

Commit ccb18a7

Browse files
committed
Merge remote-tracking branch 'makenew/public' into update-deps-and-tools-march-14
2 parents 1c2edfb + 3461b4f commit ccb18a7

18 files changed

+139
-1211
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
"hostRequirements": {

.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

+3-3
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:
@@ -31,7 +31,7 @@ jobs:
3131
- name: Package
3232
run: npm pack
3333
- name: Upload artifact
34-
uses: actions/upload-artifact@v3
34+
uses: actions/upload-artifact@v4
3535
with:
3636
name: build-${{ github.sha }}
3737
if-no-files-found: error

.github/workflows/_publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@ 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:
3131
install_dependencies: 'false'
3232
- name: Download artifact
33-
uses: actions/download-artifact@v3
33+
uses: actions/download-artifact@v4
3434
with:
3535
name: ${{ inputs.artifact_name }}
3636
path: .
3737
- name: Get meta
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:
43+
access: public
4344
token: ${{ secrets.registry_token }}
4445
registry: ${{ inputs.registry_url }}
4546
package: ${{ steps.meta.outputs.tgz }}
46-
access: public

.github/workflows/check.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
os_name: Linux
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup
3232
uses: ./.github/actions/setup
3333
with:
@@ -46,7 +46,7 @@ jobs:
4646
- '20'
4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050
- name: Setup
5151
uses: ./.github/actions/setup
5252
with:
@@ -74,16 +74,16 @@ jobs:
7474
os_name: Linux
7575
steps:
7676
- name: Setup Node.js
77-
uses: actions/setup-node@v3
77+
uses: actions/setup-node@v4
7878
with:
7979
node-version: ${{ matrix.node }}
8080
- name: Download artifact
81-
uses: actions/download-artifact@v3
81+
uses: actions/download-artifact@v4
8282
with:
8383
name: ${{ needs.build.outputs.artifact_name }}
8484
path: .
8585
- name: Find packages
86-
uses: tj-actions/glob@v16
86+
uses: tj-actions/glob@v17
8787
id: packages
8888
with:
8989
files: '*.tgz'
@@ -117,20 +117,20 @@ jobs:
117117
- '20'
118118
steps:
119119
- name: Checkout
120-
uses: actions/checkout@v3
120+
uses: actions/checkout@v4
121121
- name: Setup
122122
uses: ./.github/actions/setup
123123
with:
124124
node_version: ${{ matrix.node }}
125-
- name: Check types
125+
- name: Typecheck
126126
run: npm run typecheck
127127
docs:
128128
name: Docs
129129
runs-on: ubuntu-latest
130130
timeout-minutes: 30
131131
steps:
132132
- name: Checkout
133-
uses: actions/checkout@v3
133+
uses: actions/checkout@v4
134134
- name: Setup
135135
uses: ./.github/actions/setup
136136
- name: Build docs

.github/workflows/chromatic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
timeout-minutes: 30
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222
- name: Setup

.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
@@ -39,7 +39,7 @@ jobs:
3939
working-directory: terraform
4040
run: terraform fmt -write -recursive terraform
4141
- name: Commit
42-
uses: stefanzweifel/git-auto-commit-action@v4
42+
uses: stefanzweifel/git-auto-commit-action@v5
4343
if: always()
4444
with:
4545
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
@@ -36,7 +36,7 @@ jobs:
3636
- name: Generate code
3737
run: npm run generate
3838
- name: Commit
39-
uses: stefanzweifel/git-auto-commit-action@v4
39+
uses: stefanzweifel/git-auto-commit-action@v5
4040
with:
4141
commit_message: 'ci: Generate code'
4242
commit_user_name: ${{ secrets.GIT_USER_NAME }}

.github/workflows/publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ 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
26-
uses: actions/download-artifact@v3
26+
uses: actions/download-artifact@v4
2727
with:
2828
name: ${{ needs.build.outputs.artifact_name }}
2929
path: .
@@ -71,13 +71,13 @@ jobs:
7171
needs: build
7272
steps:
7373
- name: Get version
74-
uses: actions/github-script@v6
74+
uses: actions/github-script@v7
7575
id: version
7676
with:
7777
result-encoding: string
7878
script: return context.ref.split('/')[2].slice(1)
7979
- name: Download artifact
80-
uses: actions/download-artifact@v3
80+
uses: actions/download-artifact@v4
8181
with:
8282
name: ${{ needs.build.outputs.artifact_name }}
8383
path: .

.github/workflows/semantic-release.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref_name }}
1818
cancel-in-progress: true
1919

20+
concurrency:
21+
group: ${{ github.workflow }}-${{ github.ref_name }}
22+
cancel-in-progress: true
23+
2024
jobs:
2125
semantic:
2226
name: Determine version
@@ -27,7 +31,7 @@ jobs:
2731
new_release_version: ${{ steps.release.outputs.new_release_version }}
2832
steps:
2933
- name: Checkout
30-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3135
with:
3236
fetch-depth: 0
3337
- name: Semantic release
@@ -40,13 +44,13 @@ jobs:
4044
runs-on: ubuntu-latest
4145
timeout-minutes: 30
4246
needs: semantic
43-
if: ${{ needs.semantic.outputs.new_release_published == 'true' }}
47+
if: needs.semantic.outputs.new_release_published == 'true' && needs.semantic.outputs.new_release_version != '1.0.0'
4448
steps:
4549
- name: Checkout
46-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
4751
with:
4852
fetch-depth: 1
49-
- name: Release version ${{ steps.release.outputs.new_release_version }} on ${{ github.ref_name }}
53+
- name: Release version ${{ needs.semantic.outputs.new_release_version }} on ${{ github.ref_name }}
5054
run: gh workflow run version.yml --raw-field version=$VERSION --ref $BRANCH
5155
env:
5256
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

.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

.gitignore

+56
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,59 @@ Temporary Items
247247

248248
# Built Visual Studio Code Extensions
249249
*.vsix
250+
251+
# Windows
252+
253+
# Windows thumbnail cache files
254+
Thumbs.db
255+
Thumbs.db:encryptable
256+
ehthumbs.db
257+
ehthumbs_vista.db
258+
259+
# Dump file
260+
*.stackdump
261+
262+
# Folder config file
263+
[Dd]esktop.ini
264+
265+
# Recycle Bin used on file shares
266+
$RECYCLE.BIN/
267+
268+
# Windows Installer files
269+
*.cab
270+
*.msi
271+
*.msix
272+
*.msm
273+
*.msp
274+
275+
# Windows shortcuts
276+
*.lnk
277+
278+
# macOS
279+
280+
# General
281+
.DS_Store
282+
.AppleDouble
283+
.LSOverride
284+
285+
# Icon must end with two \r
286+
Icon
287+
288+
# Thumbnails
289+
._*
290+
291+
# Files that might appear in the root of a volume
292+
.DocumentRevisions-V100
293+
.fseventsd
294+
.Spotlight-V100
295+
.TemporaryItems
296+
.Trashes
297+
.VolumeIcon.icns
298+
.com.apple.timemachine.donotpresent
299+
300+
# Directories potentially created on remote AFP share
301+
.AppleDB
302+
.AppleDesktop
303+
Network Trash Folder
304+
Temporary Items
305+
.apdisk

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

0 commit comments

Comments
 (0)