Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 8 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"image": "mcr.microsoft.com/devcontainers/typescript-node:4-24-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
"ghcr.io/devcontainers/features/ruby:1": {
"version": "3.3"
},
"ghcr.io/devcontainers-extra/features/cmake:1": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y pigz && npm install"
"postCreateCommand": "sudo chown -R node:node . && sudo apt-get update && sudo apt-get install -y pigz && gem install licensed:2.12.2 --no-document && npm install"

// Configure tool-specific properties.
// "customizations": {},
Expand Down
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"import/first": "error",
"import/newline-after-import": "error",
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
runs-on: puzl-ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
- uses: actions/checkout@v6
- name: Setup Node.js 24.x
uses: actions/setup-node@v6
with:
node-version: 20.x
node-version: 24.x
cache: npm
- name: Install dependencies
run: npm ci
Expand All @@ -41,7 +41,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
runs-on: puzl-ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: npm ci
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- run: sudo apt-get update && sudo apt-get install -y build-essential cmake
- run: gem install licensed:2.12.2 --no-document
- run: licensed status
2 changes: 1 addition & 1 deletion .github/workflows/publish-immutable-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checking out
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Publish
id: publish
uses: actions/publish-immutable-action@v0.0.4
2 changes: 1 addition & 1 deletion .github/workflows/release-new-action-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
steps:
- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-tag
uses: actions/publish-action@v0.3.0
uses: actions/publish-action@v0.4.0
with:
source-tag: ${{ env.TAG_NAME }}
20 changes: 10 additions & 10 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
uses: actions/checkout@v6
- name: Setup Node.js 24.x
uses: actions/setup-node@v6
with:
node-version: 20.x
node-version: 24.x
cache: npm
- run: npm ci
- name: Prettier Format Check
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Generate files in working directory
shell: bash
run: bash __tests__/create-cache-files.sh ${{ runner.os }} test-cache
Expand All @@ -63,7 +63,7 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: tree /.puzl
shell: bash
run: tree /.puzl
Expand All @@ -90,7 +90,7 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Cleanup old caches
shell: bash
run: bash -x cleanup.sh
Expand All @@ -99,7 +99,7 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Generate files in working directory
shell: bash
run: bash __tests__/create-cache-files.sh ${{ runner.os }} test-separate-actions
Expand All @@ -126,7 +126,7 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: tree /.puzl
shell: bash
run: tree /.puzl
Expand All @@ -153,7 +153,7 @@ jobs:
runs-on: puzl-ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Cleanup old caches
shell: bash
run: bash -x cleanup.sh
20 changes: 0 additions & 20 deletions .licenses/npm/@actions/cache.dep.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .licenses/npm/@actions/core.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions .licenses/npm/@actions/exec.dep.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .licenses/npm/@actions/glob.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions .licenses/npm/@actions/http-client.dep.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .licenses/npm/@actions/io.dep.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .licenses/npm/@azure/abort-controller-1.1.0.dep.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .licenses/npm/@azure/abort-controller-2.1.2.dep.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .licenses/npm/@azure/core-auth.dep.yml

This file was deleted.

Loading
Loading