chore(package): update `husky`

This commit is contained in:
Thomas Rupprecht 2024-01-27 00:50:03 +01:00
parent 03d5c06b3b
commit ab0a42649c
5 changed files with 9 additions and 14 deletions

View File

@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit ${1} npx --no -- commitlint --edit ${1}

View File

@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run lint npm run lint
npm test npm test
npm run update-changelog && git add CHANGELOG.md npm run update-changelog && git add CHANGELOG.md

View File

@ -29,6 +29,7 @@ All notable changes to this project will be documented in this file.
- Update dependencies - Update dependencies
- Update `eslint-plugin-jsdoc` - Update `eslint-plugin-jsdoc`
- Update dependencies - Update dependencies
- Update dependencies
### ✳️ Other ### ✳️ Other

12
package-lock.json generated
View File

@ -24,7 +24,7 @@
"eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-unicorn": "^50.0.1", "eslint-plugin-unicorn": "^50.0.1",
"git-cliff": "^1.4.0", "git-cliff": "^1.4.0",
"husky": "^8.0.3", "husky": "^9.0.6",
"stylelint": "^16.2.0", "stylelint": "^16.2.0",
"stylelint-config-standard": "^36.0.0", "stylelint-config-standard": "^36.0.0",
"stylelint-plugin-defensive-css": "^1.0.2", "stylelint-plugin-defensive-css": "^1.0.2",
@ -4547,15 +4547,15 @@
} }
}, },
"node_modules/husky": { "node_modules/husky": {
"version": "8.0.3", "version": "9.0.6",
"resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz",
"integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==",
"dev": true, "dev": true,
"bin": { "bin": {
"husky": "lib/bin.js" "husky": "bin.js"
}, },
"engines": { "engines": {
"node": ">=14" "node": ">=18"
}, },
"funding": { "funding": {
"url": "https://github.com/sponsors/typicode" "url": "https://github.com/sponsors/typicode"

View File

@ -17,7 +17,7 @@
"eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-unicorn": "^50.0.1", "eslint-plugin-unicorn": "^50.0.1",
"git-cliff": "^1.4.0", "git-cliff": "^1.4.0",
"husky": "^8.0.3", "husky": "^9.0.6",
"stylelint": "^16.2.0", "stylelint": "^16.2.0",
"stylelint-config-standard": "^36.0.0", "stylelint-config-standard": "^36.0.0",
"stylelint-plugin-defensive-css": "^1.0.2", "stylelint-plugin-defensive-css": "^1.0.2",
@ -53,7 +53,7 @@
"preversion": "npm run fmt:check && npm run lint && npm test", "preversion": "npm run fmt:check && npm run lint && npm test",
"version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json", "version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json",
"postversion": "npm run build:firefox", "postversion": "npm run build:firefox",
"prepare": "husky install", "prepare": "husky",
"commit": "git-cz" "commit": "git-cz"
}, },
"config": { "config": {