Skip to content

Commit

Permalink
husky_upgrade Upgrade husky to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsakky committed Jan 3, 2025
1 parent 3443fd5 commit 3923def
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 148 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
lint-staged
3 changes: 0 additions & 3 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./scripts/git-commit-msg.sh $1
198 changes: 60 additions & 138 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prepublishOnly": "npm test && npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags",
"publish:beta": "npm publish --tag=beta",
"security:audit": "npx audit-ci@^6 --moderate --report-type summary --pass-enoaudit --skip-dev",
"prepare": "is-ci || husky install"
"prepare": "husky || true"
},
"keywords": [
"zimbra",
Expand Down Expand Up @@ -76,8 +76,7 @@
"chai": "^4.3.7",
"copyfiles": "^2.4.1",
"cross-var": "^1.1.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"husky": "^9.1.7",
"lint-staged": "15.2.8",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit 3923def

Please sign in to comment.