diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index 1c10c2541..894ffcc70 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -7,7 +7,7 @@ runs: - uses: pnpm/action-setup@v2 with: version: 9 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 with: cache: pnpm node-version: "20" diff --git a/.github/workflows/accessibility-alt-text-bot.yml b/.github/workflows/accessibility-alt-text-bot.yml index 96af67f4b..dc2a2c807 100644 --- a/.github/workflows/accessibility-alt-text-bot.yml +++ b/.github/workflows/accessibility-alt-text-bot.yml @@ -3,7 +3,7 @@ jobs: if: ${{ !endsWith(github.actor, '[bot]') }} runs-on: ubuntu-latest steps: - - uses: github/accessibility-alt-text-bot@v1.4.0 + - uses: github/accessibility-alt-text-bot@602a5efcf386c52ef8b9a11ead9bfa6ef8d56ba5 # v1.4.0 name: Accessibility Alt Text Bot diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ded183f66..b1257e752 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm build - run: node ./lib/index.js @@ -11,7 +11,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm build - run: pnpm lint @@ -19,42 +19,42 @@ jobs: name: Lint Knip runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm lint:knip lint_markdown: name: Lint Markdown runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm lint:md lint_packages: name: Lint Packages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm lint:packages lint_spelling: name: Lint Spelling runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm lint:spelling prettier: name: Prettier runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm format --list-different test: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm run test --coverage - uses: codecov/codecov-action@v3 @@ -64,7 +64,7 @@ jobs: name: Type Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm tsc diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 9d22aa160..f9fc01a5c 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -2,13 +2,13 @@ jobs: contributors: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: fetch-depth: 0 - uses: ./.github/actions/prepare - env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - uses: JoshuaKGoldberg/all-contributors-auto-action@v0.4.3 + uses: JoshuaKGoldberg/all-contributors-auto-action@da2f2aa14f945bd45c882b83356f24e6dce91629 # v0.4.3 name: Contributors diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 4f649c486..8ad19a44b 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -2,11 +2,11 @@ jobs: post_release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: fetch-depth: 0 - run: echo "npm_version=$(npm pkg get version | tr -d '"')" >> "$GITHUB_ENV" - - uses: apexskier/github-release-commenter@v1 + - uses: apexskier/github-release-commenter@3bd413ad5e1d603bfe2282f9f06f2bdcec079327 # v1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} comment-template: | diff --git a/.github/workflows/pr-review-requested.yml b/.github/workflows/pr-review-requested.yml index e2e518c8c..6fbec031e 100644 --- a/.github/workflows/pr-review-requested.yml +++ b/.github/workflows/pr-review-requested.yml @@ -2,7 +2,7 @@ jobs: pr_review_requested: runs-on: ubuntu-latest steps: - - uses: actions-ecosystem/action-remove-labels@v1 + - uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1 with: labels: "status: waiting for author" - if: failure() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1f8e3928..e297ccc5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: fetch-depth: 0 ref: main @@ -14,7 +14,7 @@ jobs: - env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - uses: JoshuaKGoldberg/release-it-action@v0.2.2 + uses: JoshuaKGoldberg/release-it-action@77373cfc2535e21149518381cb09e1c04c6068fe # v0.2.2 name: Release diff --git a/.github/workflows/test-create.yml b/.github/workflows/test-create.yml index a0fdedccf..884045907 100644 --- a/.github/workflows/test-create.yml +++ b/.github/workflows/test-create.yml @@ -2,7 +2,7 @@ jobs: create: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm run build - run: pnpm run test:create diff --git a/.github/workflows/test-initialize.yml b/.github/workflows/test-initialize.yml index 3314db55a..3bede46f8 100644 --- a/.github/workflows/test-initialize.yml +++ b/.github/workflows/test-initialize.yml @@ -2,7 +2,7 @@ jobs: initialize: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm run build - run: pnpm run test:initialize diff --git a/.github/workflows/test-migrate.yml b/.github/workflows/test-migrate.yml index 38cfe7188..cfd0e7773 100644 --- a/.github/workflows/test-migrate.yml +++ b/.github/workflows/test-migrate.yml @@ -2,7 +2,7 @@ jobs: migrate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: ./.github/actions/prepare - run: pnpm run build - run: pnpm run test:migrate diff --git a/package.json b/package.json index 4d39f5985..7f6450734 100644 --- a/package.json +++ b/package.json @@ -61,47 +61,47 @@ "zod-validation-error": "^3.3.1" }, "devDependencies": { - "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@eslint/js": "^9.8.0", - "@octokit/request-error": "^6.1.4", - "@release-it/conventional-changelog": "^8.0.1", - "@types/eslint-plugin-markdown": "^2.0.2", - "@types/eslint__js": "^8.42.3", - "@types/git-url-parse": "^9.0.3", - "@types/js-yaml": "^4.0.9", - "@types/node": "^22.1.0", - "@types/parse-author": "^2.0.3", - "@vitest/coverage-v8": "^2.0.5", - "c8": "^10.1.2", - "console-fail-test": "^0.4.4", - "cspell": "^8.13.1", - "eslint": "^9.8.0", - "eslint-plugin-jsdoc": "^50.0.0", - "eslint-plugin-jsonc": "^2.16.0", - "eslint-plugin-markdown": "^5.1.0", - "eslint-plugin-n": "^17.10.2", - "eslint-plugin-package-json": "^0.15.2", - "eslint-plugin-perfectionist": "^3.1.3", - "eslint-plugin-regexp": "^2.6.0", - "eslint-plugin-vitest": "^0.5.4", - "eslint-plugin-yml": "^1.14.0", - "globby": "^14.0.2", - "husky": "^9.1.4", - "jsonc-eslint-parser": "^2.4.0", + "@eslint-community/eslint-plugin-eslint-comments": "4.3.0", + "@eslint/js": "9.8.0", + "@octokit/request-error": "6.1.4", + "@release-it/conventional-changelog": "8.0.1", + "@types/eslint-plugin-markdown": "2.0.2", + "@types/eslint__js": "8.42.3", + "@types/git-url-parse": "9.0.3", + "@types/js-yaml": "4.0.9", + "@types/node": "22.1.0", + "@types/parse-author": "2.0.3", + "@vitest/coverage-v8": "2.0.5", + "c8": "10.1.2", + "console-fail-test": "0.4.4", + "cspell": "8.13.1", + "eslint": "9.8.0", + "eslint-plugin-jsdoc": "50.0.0", + "eslint-plugin-jsonc": "2.16.0", + "eslint-plugin-markdown": "5.1.0", + "eslint-plugin-n": "17.10.2", + "eslint-plugin-package-json": "0.15.2", + "eslint-plugin-perfectionist": "3.1.3", + "eslint-plugin-regexp": "2.6.0", + "eslint-plugin-vitest": "0.5.4", + "eslint-plugin-yml": "1.14.0", + "globby": "14.0.2", + "husky": "9.1.4", + "jsonc-eslint-parser": "2.4.0", "knip": "5.27.1", - "lint-staged": "^15.2.8", - "markdownlint": "^0.34.0", - "markdownlint-cli": "^0.41.0", - "prettier-plugin-curly": "^0.2.2", - "prettier-plugin-packagejson": "^2.5.1", - "prettier-plugin-sh": "^0.14.0", - "release-it": "^17.6.0", - "sentences-per-line": "^0.2.1", - "tsup": "^8.2.4", - "tsx": "^4.16.5", - "typescript": "^5.5.4", - "typescript-eslint": "^8.0.1", - "vitest": "^2.0.5" + "lint-staged": "15.2.8", + "markdownlint": "0.34.0", + "markdownlint-cli": "0.41.0", + "prettier-plugin-curly": "0.2.2", + "prettier-plugin-packagejson": "2.5.1", + "prettier-plugin-sh": "0.14.0", + "release-it": "17.6.0", + "sentences-per-line": "0.2.1", + "tsup": "8.2.4", + "tsx": "4.16.5", + "typescript": "5.5.4", + "typescript-eslint": "8.0.1", + "vitest": "2.0.5" }, "engines": { "node": ">=18.3.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d8405d413..c2285ecd1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -64,127 +64,127 @@ importers: version: 3.3.1(zod@3.23.8) devDependencies: '@eslint-community/eslint-plugin-eslint-comments': - specifier: ^4.3.0 + specifier: 4.3.0 version: 4.3.0(eslint@9.8.0) '@eslint/js': - specifier: ^9.8.0 + specifier: 9.8.0 version: 9.8.0 '@octokit/request-error': - specifier: ^6.1.4 + specifier: 6.1.4 version: 6.1.4 '@release-it/conventional-changelog': - specifier: ^8.0.1 + specifier: 8.0.1 version: 8.0.1(release-it@17.6.0(typescript@5.5.4)) '@types/eslint-plugin-markdown': - specifier: ^2.0.2 + specifier: 2.0.2 version: 2.0.2 '@types/eslint__js': - specifier: ^8.42.3 + specifier: 8.42.3 version: 8.42.3 '@types/git-url-parse': - specifier: ^9.0.3 + specifier: 9.0.3 version: 9.0.3 '@types/js-yaml': - specifier: ^4.0.9 + specifier: 4.0.9 version: 4.0.9 '@types/node': - specifier: ^22.1.0 + specifier: 22.1.0 version: 22.1.0 '@types/parse-author': - specifier: ^2.0.3 + specifier: 2.0.3 version: 2.0.3 '@vitest/coverage-v8': - specifier: ^2.0.5 + specifier: 2.0.5 version: 2.0.5(vitest@2.0.5(@types/node@22.1.0)) c8: - specifier: ^10.1.2 + specifier: 10.1.2 version: 10.1.2 console-fail-test: - specifier: ^0.4.4 + specifier: 0.4.4 version: 0.4.4 cspell: - specifier: ^8.13.1 + specifier: 8.13.1 version: 8.13.1 eslint: - specifier: ^9.8.0 + specifier: 9.8.0 version: 9.8.0 eslint-plugin-jsdoc: - specifier: ^50.0.0 + specifier: 50.0.0 version: 50.0.0(eslint@9.8.0) eslint-plugin-jsonc: - specifier: ^2.16.0 + specifier: 2.16.0 version: 2.16.0(eslint@9.8.0) eslint-plugin-markdown: - specifier: ^5.1.0 + specifier: 5.1.0 version: 5.1.0(eslint@9.8.0) eslint-plugin-n: - specifier: ^17.10.2 + specifier: 17.10.2 version: 17.10.2(eslint@9.8.0) eslint-plugin-package-json: - specifier: ^0.15.2 + specifier: 0.15.2 version: 0.15.2(eslint@9.8.0)(jsonc-eslint-parser@2.4.0) eslint-plugin-perfectionist: - specifier: ^3.1.3 + specifier: 3.1.3 version: 3.1.3(eslint@9.8.0)(typescript@5.5.4) eslint-plugin-regexp: - specifier: ^2.6.0 + specifier: 2.6.0 version: 2.6.0(eslint@9.8.0) eslint-plugin-vitest: - specifier: ^0.5.4 + specifier: 0.5.4 version: 0.5.4(eslint@9.8.0)(typescript@5.5.4)(vitest@2.0.5(@types/node@22.1.0)) eslint-plugin-yml: - specifier: ^1.14.0 + specifier: 1.14.0 version: 1.14.0(eslint@9.8.0) globby: - specifier: ^14.0.2 + specifier: 14.0.2 version: 14.0.2 husky: - specifier: ^9.1.4 + specifier: 9.1.4 version: 9.1.4 jsonc-eslint-parser: - specifier: ^2.4.0 + specifier: 2.4.0 version: 2.4.0 knip: specifier: 5.27.1 version: 5.27.1(@types/node@22.1.0)(typescript@5.5.4) lint-staged: - specifier: ^15.2.8 + specifier: 15.2.8 version: 15.2.8 markdownlint: - specifier: ^0.34.0 + specifier: 0.34.0 version: 0.34.0 markdownlint-cli: - specifier: ^0.41.0 + specifier: 0.41.0 version: 0.41.0 prettier-plugin-curly: - specifier: ^0.2.2 + specifier: 0.2.2 version: 0.2.2(prettier@3.3.3) prettier-plugin-packagejson: - specifier: ^2.5.1 + specifier: 2.5.1 version: 2.5.1(prettier@3.3.3) prettier-plugin-sh: - specifier: ^0.14.0 + specifier: 0.14.0 version: 0.14.0(prettier@3.3.3) release-it: - specifier: ^17.6.0 + specifier: 17.6.0 version: 17.6.0(typescript@5.5.4) sentences-per-line: - specifier: ^0.2.1 + specifier: 0.2.1 version: 0.2.1 tsup: - specifier: ^8.2.4 + specifier: 8.2.4 version: 8.2.4(jiti@1.21.6)(postcss@8.4.36)(tsx@4.16.5)(typescript@5.5.4)(yaml@2.5.0) tsx: - specifier: ^4.16.5 + specifier: 4.16.5 version: 4.16.5 typescript: - specifier: ^5.5.4 + specifier: 5.5.4 version: 5.5.4 typescript-eslint: - specifier: ^8.0.1 + specifier: 8.0.1 version: 8.0.1(eslint@9.8.0)(typescript@5.5.4) vitest: - specifier: ^2.0.5 + specifier: 2.0.5 version: 2.0.5(@types/node@22.1.0) packages: