diff --git a/.github/scripts/can-release.bash b/.github/scripts/can-release.bash new file mode 100644 index 0000000..5bbc771 --- /dev/null +++ b/.github/scripts/can-release.bash @@ -0,0 +1,13 @@ +#!/bin/bash + +# 引数で指定されたGit タグ名でリリースできるかどうか +# +# $1 -> Git タグ名 +# +# 注意事項 +# * GitHub CLI のアクセス権限設定が必要 + +if gh release view $1 --repo tshion/apply-git-user > /dev/null; then + echo "$1 is already released!" + exit 1 +fi diff --git a/.github/scripts/create-test-config.rb b/.github/scripts/create-test-config.rb new file mode 100644 index 0000000..1c70369 --- /dev/null +++ b/.github/scripts/create-test-config.rb @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +require 'json' + +config = { os: ["ubuntu-latest", "windows-latest", "macos-latest"] } +File.open("config.json", "w") { |file| + file.write(config.to_json) +} diff --git a/.github/workflows/display.bash b/.github/scripts/display.bash similarity index 100% rename from .github/workflows/display.bash rename to .github/scripts/display.bash diff --git a/.github/workflows/140-create-version-pr.yml b/.github/workflows/140-create-version-pr.yml new file mode 100644 index 0000000..dead539 --- /dev/null +++ b/.github/workflows/140-create-version-pr.yml @@ -0,0 +1,82 @@ +name: 140 Create version pull request + +on: + workflow_dispatch: + inputs: + versionMajor: + description: "バージョン情報: major" + required: true + type: string + versionMinor: + description: "バージョン情報: minor" + required: true + type: string + versionPatch: + description: "バージョン情報: patch" + required: true + type: string + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + +jobs: + create-pr: + if: ${{ github.ref_type == 'branch' }} + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + contents: write + pull-requests: write + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + + # https://github.com/actions/setup-node + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + cache: npm + cache-dependency-path: ./package-lock.json + + - name: Decide version + id: meta + env: + GH_TOKEN: ${{ github.token }} + VERSION: "${{ inputs.versionMajor }}.${{ inputs.versionMinor }}.${{ inputs.versionPatch }}" + run: | + npm version "$VERSION" --no-git-tag-version + version=$(node -p "require('./package.json').version") + bash ./.github/scripts/can-release.bash "$version" + echo "version=$version" >> "$GITHUB_OUTPUT" + + - run: npm ci + + - run: npm test + + - run: npm run build + + # https://github.com/actions/checkout/issues/13#issuecomment-724415212 + - name: Set up git user + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + + - name: Create a pull request + env: + ASSIGNEE: tshion + BASE: ${{ github.ref_name }} + GH_TOKEN: ${{ github.token }} + VERSION: ${{ steps.meta.outputs.version }} + run: | + branch="feature/$VERSION" + message="Update $VERSION" + + git switch --create "$branch" + git add --all compiled/* + git add package-lock.json + git add package.json + git commit --message "$message" + git push --set-upstream origin "$branch" + + gh pr create --assignee "$ASSIGNEE" --base "$BASE" --title "$message" --body "" diff --git a/.github/workflows/160-create-release-pr.yml b/.github/workflows/160-create-release-pr.yml new file mode 100644 index 0000000..644a2a0 --- /dev/null +++ b/.github/workflows/160-create-release-pr.yml @@ -0,0 +1,47 @@ +name: 160 Create release pull request + +on: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + +jobs: + test-action: + if: ${{ github.ref_name == 'develop' }} + uses: ./.github/workflows/160a-test-action.yml + + + create-pr: + needs: test-action + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + contents: read + pull-requests: write + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + + # https://github.com/actions/setup-node + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + cache: npm + cache-dependency-path: ./package-lock.json + + - name: Get version name + id: meta + run: | + version=$(node -p "require('./package.json').version") + echo "version=$version" >> "$GITHUB_OUTPUT" + + - name: Create pull request + env: + ASSIGNEE: tshion + BODY: "result: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + GH_TOKEN: ${{ github.token }} + TITLE: "Merge ${{ steps.meta.outputs.version }}" + run: | + gh pr create --assignee "$ASSIGNEE" --base released --title "$TITLE" --body "$BODY" diff --git a/.github/workflows/160a-test-action.yml b/.github/workflows/160a-test-action.yml new file mode 100644 index 0000000..ebb08c3 --- /dev/null +++ b/.github/workflows/160a-test-action.yml @@ -0,0 +1,158 @@ +name: 160a Test action + +on: + workflow_call: + + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-160a + cancel-in-progress: true + +jobs: + config: + runs-on: ubuntu-latest + timeout-minutes: 3 + outputs: + configs: ${{ steps.result.outputs.configs }} + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + + - id: result + run: | + ruby ./.github/scripts/create-test-config.rb + echo "configs=$(cat config.json)" >> "$GITHUB_OUTPUT" + + + actions-user: + needs: config + strategy: + matrix: ${{ fromJson(needs.config.outputs.configs) }} + max-parallel: 1 + runs-on: ${{ matrix.os }} + timeout-minutes: 5 + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: tools + + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: main + + - uses: ./tools/ + with: + path: ./main/ + user: actions-user + - working-directory: ./main/ + run: bash ../tools/.github/scripts/display.bash + + - uses: ./tools/ + with: + global: TRUE + user: ACTIONS-USER + - run: bash ./tools/.github/scripts/display.bash + + + github-actions: + needs: config + strategy: + matrix: ${{ fromJson(needs.config.outputs.configs) }} + max-parallel: 1 + runs-on: ${{ matrix.os }} + timeout-minutes: 5 + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: tools + + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: main + + - uses: ./tools/ + with: + path: ./main/ + user: github-actions + - working-directory: ./main/ + run: bash ../tools/.github/scripts/display.bash + + - uses: ./tools/ + with: + global: TRUE + user: GITHUB-ACTIONS + - run: bash ./tools/.github/scripts/display.bash + + + latest-commit: + needs: config + strategy: + matrix: ${{ fromJson(needs.config.outputs.configs) }} + max-parallel: 1 + runs-on: ${{ matrix.os }} + timeout-minutes: 5 + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: tools + + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: main + + - uses: ./tools/ + with: + path: ./main/ + user: latest-commit + - working-directory: ./main/ + run: bash ../tools/.github/scripts/display.bash + + - uses: ./tools/ + with: + path: ./tools/ + global: TRUE + user: LATEST-COMMIT + - run: bash ./tools/.github/scripts/display.bash + + + specific: + needs: config + strategy: + matrix: ${{ fromJson(needs.config.outputs.configs) }} + max-parallel: 1 + runs-on: ${{ matrix.os }} + timeout-minutes: 5 + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: tools + + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + with: + path: main + + - uses: ./tools/ + with: + path: ./main/ + user: specific + email: hoge@example.com + name: hoge + - working-directory: ./main/ + run: bash ../tools/.github/scripts/display.bash + + - uses: ./tools/ + with: + global: TRUE + user: SPECIFIC + email: hoge@example.com + name: hoge + - run: bash ./tools/.github/scripts/display.bash diff --git a/.github/workflows/180-release-preparation.yml b/.github/workflows/180-release-preparation.yml new file mode 100644 index 0000000..8cdd1b5 --- /dev/null +++ b/.github/workflows/180-release-preparation.yml @@ -0,0 +1,45 @@ +name: 180 Release preparation + +on: + push: + branches: + - released + + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + +jobs: + preparation: + if: ${{ github.ref_type == 'branch' }} + runs-on: ubuntu-latest + timeout-minutes: 5 + permissions: + contents: write + steps: + # https://github.com/actions/checkout + - uses: actions/checkout@v4 + + # https://github.com/actions/setup-node + - uses: actions/setup-node@v4 + with: + node-version-file: .node-version + cache: npm + cache-dependency-path: ./package-lock.json + + - name: Get version name + id: meta + run: | + version=$(node -p "require('./package.json').version") + echo "version=$version" >> "$GITHUB_OUTPUT" + + - name: Create draft release notes + env: + GH_TOKEN: ${{ github.token }} + VERSION: ${{ steps.meta.outputs.version }} + run: | + git tag "$VERSION" + git push origin "$VERSION" + gh release create "$VERSION" --draft --generate-notes --title "$VERSION" diff --git a/.github/workflows/run-action.yml b/.github/workflows/run-action.yml deleted file mode 100644 index b621df0..0000000 --- a/.github/workflows/run-action.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: Run action -on: - workflow_dispatch: - -jobs: - case1: - strategy: - matrix: - os: - - ubuntu-latest - - windows-latest - - macos-latest - runs-on: ${{ matrix.os }} - steps: - # https://github.com/actions/checkout - - uses: actions/checkout@v4 - - uses: ./ - with: - user: actions-user - - run: bash .github/workflows/display.bash - - case2: - strategy: - matrix: - os: - - ubuntu-latest - - windows-latest - - macos-latest - runs-on: ${{ matrix.os }} - steps: - # https://github.com/actions/checkout - - uses: actions/checkout@v4 - with: - path: myaction - # https://github.com/actions/checkout - - uses: actions/checkout@v4 - with: - path: target - - uses: ./myaction/ - with: - path: target - user: github-actions - - run: bash ../myaction/.github/workflows/display.bash - working-directory: myaction - - run: bash ../myaction/.github/workflows/display.bash - working-directory: target - - case3: - strategy: - matrix: - os: - - ubuntu-latest - - windows-latest - - macos-latest - runs-on: ${{ matrix.os }} - steps: - # https://github.com/actions/checkout - - uses: actions/checkout@v4 - - uses: ./ - with: - global: true - user: latest-commit - - run: bash .github/workflows/display.bash - - uses: ./ - with: - global: TRUE - user: LATEST-COMMIT - - run: bash .github/workflows/display.bash - - case4: - strategy: - matrix: - os: - - ubuntu-latest - - windows-latest - - macos-latest - runs-on: ${{ matrix.os }} - steps: - # https://github.com/actions/checkout - - uses: actions/checkout@v4 - - uses: ./ - with: - user: specific - email: hoge@example.com - name: hoge - - run: bash .github/workflows/display.bash diff --git a/.gitignore b/.gitignore index d2b8d20..3265567 100644 --- a/.gitignore +++ b/.gitignore @@ -167,6 +167,68 @@ dist +############ +### Ruby ### +############ +*.gem +*.rbc +/.config +/coverage/ +/InstalledFiles +/pkg/ +/spec/reports/ +/spec/examples.txt +/test/tmp/ +/test/version_tmp/ +/tmp/ + +# Used by dotenv library to load environment variables. +# .env + +# Ignore Byebug command history file. +.byebug_history + +## Specific to RubyMotion: +.dat* +.repl_history +build/ +*.bridgesupport +build-iPhoneOS/ +build-iPhoneSimulator/ + +## Specific to RubyMotion (use of CocoaPods): +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +# vendor/Pods/ + +## Documentation cache and generated files: +/.yardoc/ +/_yardoc/ +/doc/ +/rdoc/ + +## Environment normalization: +/.bundle/ +/vendor/bundle +/lib/bundler/man/ + +# for a library or gem, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# Gemfile.lock +# .ruby-version +# .ruby-gemset + +# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: +.rvmrc + +# Used by RuboCop. Remote config files pulled in from inherit_from directive. +# .rubocop-https?--* + + + ########################## ### Visual Studio Code ### ########################## diff --git a/.node-version b/.node-version index f203ab8..9075659 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.13.1 +20.15.0 diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 7dd56ec..fb77d25 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -22,5 +22,5 @@ * https://github.com/vercel/ncc ### Others -* [Test runner | Node.js v20.13.1 Documentation](https://nodejs.org/docs/latest-v20.x/api/test.html) +* [Test runner | Node.js v20.x Documentation](https://nodejs.org/docs/latest-v20.x/api/test.html) * [How to run the Node built-in testrunner for TypeScript files inside a specific directory? · Issue #3902 · nodejs/help](https://github.com/nodejs/help/issues/3902#issuecomment-1807916369) diff --git a/package-lock.json b/package-lock.json index 3de3854..a23ba2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,14 +11,15 @@ "@actions/exec": "^1.1.1" }, "devDependencies": { - "@types/node": "^20.14.5", + "@types/node": "^20.14.8", "@vercel/ncc": "^0.38.1", - "tsx": "^4.9.3", - "typescript": "^5.4.5" + "tsx": "^4.15.7", + "typescript": "^5.5.2" }, "engines": { "node": ">=20" - } + }, + "version": "2.0.1" }, "node_modules/@actions/core": { "version": "1.10.1", @@ -52,9 +53,9 @@ "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", - "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", "cpu": [ "ppc64" ], @@ -68,9 +69,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz", - "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", "cpu": [ "arm" ], @@ -84,9 +85,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz", - "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", "cpu": [ "arm64" ], @@ -100,9 +101,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz", - "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", "cpu": [ "x64" ], @@ -116,9 +117,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz", - "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", "cpu": [ "arm64" ], @@ -132,9 +133,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz", - "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", "cpu": [ "x64" ], @@ -148,9 +149,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz", - "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", "cpu": [ "arm64" ], @@ -164,9 +165,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz", - "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", "cpu": [ "x64" ], @@ -180,9 +181,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz", - "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", "cpu": [ "arm" ], @@ -196,9 +197,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz", - "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", "cpu": [ "arm64" ], @@ -212,9 +213,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz", - "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", "cpu": [ "ia32" ], @@ -228,9 +229,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz", - "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", "cpu": [ "loong64" ], @@ -244,9 +245,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz", - "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", "cpu": [ "mips64el" ], @@ -260,9 +261,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz", - "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", "cpu": [ "ppc64" ], @@ -276,9 +277,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz", - "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", "cpu": [ "riscv64" ], @@ -292,9 +293,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz", - "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", "cpu": [ "s390x" ], @@ -308,9 +309,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz", - "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", "cpu": [ "x64" ], @@ -324,9 +325,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz", - "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", "cpu": [ "x64" ], @@ -340,9 +341,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz", - "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", "cpu": [ "x64" ], @@ -356,9 +357,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz", - "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", "cpu": [ "x64" ], @@ -372,9 +373,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz", - "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", "cpu": [ "arm64" ], @@ -388,9 +389,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz", - "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", "cpu": [ "ia32" ], @@ -404,9 +405,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz", - "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", "cpu": [ "x64" ], @@ -428,9 +429,9 @@ } }, "node_modules/@types/node": { - "version": "20.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.5.tgz", - "integrity": "sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==", + "version": "20.14.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.8.tgz", + "integrity": "sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -446,9 +447,9 @@ } }, "node_modules/esbuild": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", - "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "hasInstallScript": true, "bin": { @@ -458,29 +459,29 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.20.2", - "@esbuild/android-arm": "0.20.2", - "@esbuild/android-arm64": "0.20.2", - "@esbuild/android-x64": "0.20.2", - "@esbuild/darwin-arm64": "0.20.2", - "@esbuild/darwin-x64": "0.20.2", - "@esbuild/freebsd-arm64": "0.20.2", - "@esbuild/freebsd-x64": "0.20.2", - "@esbuild/linux-arm": "0.20.2", - "@esbuild/linux-arm64": "0.20.2", - "@esbuild/linux-ia32": "0.20.2", - "@esbuild/linux-loong64": "0.20.2", - "@esbuild/linux-mips64el": "0.20.2", - "@esbuild/linux-ppc64": "0.20.2", - "@esbuild/linux-riscv64": "0.20.2", - "@esbuild/linux-s390x": "0.20.2", - "@esbuild/linux-x64": "0.20.2", - "@esbuild/netbsd-x64": "0.20.2", - "@esbuild/openbsd-x64": "0.20.2", - "@esbuild/sunos-x64": "0.20.2", - "@esbuild/win32-arm64": "0.20.2", - "@esbuild/win32-ia32": "0.20.2", - "@esbuild/win32-x64": "0.20.2" + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" } }, "node_modules/fsevents": { @@ -519,13 +520,13 @@ } }, "node_modules/tsx": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.9.4.tgz", - "integrity": "sha512-TlSJTVn2taGGDgdV3jAqCj7WQ/CafCB5p4SbG7W2Bl/0AJWH1ShJlBbc0y2lOFTjQEVAAULSTlmehw/Mwv3S/Q==", + "version": "4.15.7", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.15.7.tgz", + "integrity": "sha512-u3H0iSFDZM3za+VxkZ1kywdCeHCn+8/qHQS1MNoO2sONDgD95HlWtt8aB23OzeTmFP9IU4/8bZUdg58Uu5J4cg==", "dev": true, "dependencies": { - "esbuild": "~0.20.2", - "get-tsconfig": "^4.7.3" + "esbuild": "~0.21.4", + "get-tsconfig": "^4.7.5" }, "bin": { "tsx": "dist/cli.mjs" @@ -546,9 +547,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -583,5 +584,6 @@ "uuid": "dist/bin/uuid" } } - } + }, + "version": "2.0.1" } diff --git a/package.json b/package.json index 2e01936..230c4d4 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,10 @@ "@actions/exec": "^1.1.1" }, "devDependencies": { - "@types/node": "^20.14.5", + "@types/node": "^20.14.8", "@vercel/ncc": "^0.38.1", - "tsx": "^4.9.3", - "typescript": "^5.4.5" - } -} \ No newline at end of file + "tsx": "^4.15.7", + "typescript": "^5.5.2" + }, + "version": "2.0.1" +}