Merge pull request #377 from toddbluhm/dependabot/npm_and_yarn/husky-9.1.7

chore(deps-dev): bump husky from 4.3.8 to 9.1.7
This commit is contained in:
Todd Bluhm 2024-12-01 06:37:41 -06:00 committed by GitHub
commit f29a4e4a55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 8 deletions

View File

@ -6,6 +6,9 @@ jobs:
test:
runs-on: ubuntu-latest
env:
HUSKY: 0
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

View File

@ -7,6 +7,9 @@ jobs:
runs-on: windows-latest
env:
HUSKY: 0
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

1
.husky/commit-msg Normal file
View File

@ -0,0 +1 @@
npx commitlint --edit

View File

@ -4,8 +4,7 @@
[![npm](https://badgen.net/npm/v/env-cmd)](https://www.npmjs.com/package/env-cmd)
[![npm](https://badgen.net/npm/dm/env-cmd)](https://www.npmjs.com/package/env-cmd)
[![License](https://badgen.net/github/license/toddbluhm/env-cmd)](https://github.com/toddbluhm/env-cmd/blob/master/LICENSE)
[![TS-Standard - Typescript Standard Style Guide](https://badgen.net/badge/code%20style/ts-standard/blue?icon=typescript)](https://github.com/toddbluhm/ts-standard)
[![Dependabot badge](https://badgen.net/dependabot/toddbluhm/env-cmd?icon=dependabot)](https://dependabot.com/)
[![Typescript-ESLint](https://badgen.net/badge/code%20style/typescript-eslint/blue?icon=typescript)](https://github.com/typescript-eslint/typescript-eslint)
# env-cmd

View File

@ -11,6 +11,7 @@
"env-cmd": "bin/env-cmd.js"
},
"scripts": {
"prepare": "husky",
"test": "mocha -r ts-node/register ./test/**/*.ts",
"test-cover": "nyc npm test",
"coveralls": "coveralls < coverage/lcov.info",
@ -63,7 +64,7 @@
"chai": "^4.0.0",
"coveralls": "^3.0.0",
"globals": "^15.12.0",
"husky": "^4.0.0",
"husky": "^9.1.7",
"mocha": "^7.0.0",
"nyc": "^15.0.0",
"sinon": "^9.0.0",
@ -102,11 +103,6 @@
"devDependencyPin": "fix: pin devDependecy ${dependency}"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"