Skip to content

Commit

Permalink
chore: bump to husky v9
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 25, 2024
1 parent 046ea1c commit e2ac794
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

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

pnpm lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"format": "prettier --write .",
"lint": "eslint --ext .cjs,.js,.ts,.vue . && prettier --check .",
"lint:fix": "eslint --fix --ext .cjs,.js,.ts,.vue . && prettier --write .",
"prepare": "husky install",
"prepare": "husky",
"release": "pnpm release:check && pnpm release:publish",
"release:check": "pnpm lint && pnpm clean && pnpm build && pnpm test",
"release:publish": "lerna publish",
Expand All @@ -38,7 +38,7 @@
"eslint-config-vuepress": "^4.10.0",
"eslint-config-vuepress-typescript": "^4.10.0",
"eslint-plugin-cypress": "^2.15.1",
"husky": "^8.0.3",
"husky": "^9.0.5",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"prettier-config-vuepress": "^4.4.0",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

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

0 comments on commit e2ac794

Please sign in to comment.