Skip to content

Commit

Permalink
chore: update husky script
Browse files Browse the repository at this point in the history
  • Loading branch information
rookie-luochao committed Aug 13, 2024
1 parent cdecb3f commit 94801b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-camels-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openapi-ts-request': patch
---

chore: update husky script
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

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

pnpm install
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname "$0")/_/husky.sh"

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

# pnpm test

0 comments on commit 94801b6

Please sign in to comment.