Skip to content

Commit

Permalink
chore(husky): migrate to husky 9
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jul 19, 2024
1 parent b3ca431 commit 8fbeb4c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 30 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
3 changes: 0 additions & 3 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
21 changes: 0 additions & 21 deletions package-lock.json

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

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"migrations:openapi": "ts-node openapi/migrations",
"migrations:postman": "ts-node postman/migrations",
"postman-to-openapi": "p2o postman/collection.json --file openapi/spec.json --options postman-to-openapi.json",
"postinstall": "husky install",
"postpublish": "pinst --enable"
"prepare": "husky"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,7 +41,6 @@
"json-schema-it": "1.2.9",
"lint-staged": "15.2.7",
"npm-run-all": "4.1.5",
"pinst": "3.0.0",
"postman-to-openapi": "3.0.1",
"prettier": "3.3.3",
"ts-node": "10.9.2",
Expand Down

0 comments on commit 8fbeb4c

Please sign in to comment.