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 13, 2025
1 parent b5e4aef commit 1061fcf
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 50 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run build
git add .
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
67 changes: 26 additions & 41 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 @@ -15,7 +15,7 @@
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"prepublishOnly": "npm run -s test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags",
"prepare": "is-ci || husky install"
"prepare": "husky || true"
},
"babel": {
"presets": [
Expand Down Expand Up @@ -56,8 +56,7 @@
"eslint": "^8.38.0",
"eslint-config-synacor": "^3.0.5",
"graphql": "^16.9.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"husky": "^9.1.7",
"lint-staged": "^13.2.1",
"mkdirp": "^3.0.0",
"mockery": "^2.1.0",
Expand Down

0 comments on commit 1061fcf

Please sign in to comment.