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
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9

- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9

- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
Expand Down
10 changes: 9 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
npx --no lint-staged -- --relative
# Prevent accidental commits to the main branch.
branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "main" ]; then
echo "Create a feature branch and open a pull request instead of directly committing to main."
exit 1
fi

pnpm exec lint-staged --relative
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"url": "https://github.com/webdeveric/commitlint-plugin-cspell/issues"
},
"license": "MIT",
"packageManager": "pnpm@11.9.0+sha512.bd682d5d03fe525ef7c9fd6780c6884d1e756ac4c9c9fe00c538782824310dcf90e3ddc4f53835f06dfaebd5085e41855e0bcbb3b60de2ac5bbab89e5036f03b",
"packageManager": "pnpm@11.17.0+sha512.cca3cea332ad254bb84145f966d19f4879615210346fc92c79a047f23a0d7b3cca3c3792f0076ba1f1831d277efbcf0a9119b31a9a60eca7fb3d6231f331ef72",
"sideEffects": false,
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -49,14 +49,15 @@
},
"prettier": "@webdeveric/prettier-config",
"dependencies": {
"@commitlint/types": "^21.1.0",
"@commitlint/types": "^21.2.0",
"cspell-lib": "^10.0.1"
},
"devDependencies": {
"@commitlint/lint": "^21.1.0",
"@types/node": "^22.20.0",
"@vitest/coverage-v8": "^4.1.9",
"@webdeveric/eslint-config-ts": "^0.12.0",
"@commitlint/lint": "^21.2.0",
"@types/node": "^22.20.1",
"@typescript/native": "npm:typescript@^7.0.2",
"@vitest/coverage-v8": "^4.1.10",
"@webdeveric/eslint-config-ts": "^0.12.1",
"@webdeveric/prettier-config": "^0.4.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"cspell": "^10.0.1",
Expand All @@ -65,13 +66,13 @@
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"prettier": "^3.8.4",
"lint-staged": "^17.1.1",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.5",
"typescript": "^6.0.3",
"validate-package-exports": "^1.1.0",
"vitest": "^4.1.9"
"semantic-release": "^25.0.8",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"validate-package-exports": "^1.3.3",
"vitest": "^4.1.10"
},
"peerDependencies": {
"@commitlint/lint": ">=7.6.0"
Expand Down
Loading
Loading