Skip to content

Commit

Permalink
chore: upgrade husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Apr 9, 2024
1 parent 4892a0c commit e279b4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
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"

pnpm pretty-quick --staged
pnpm exec pretty-quick --staged
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"test": "jest",
"lint": "tslint -p tsconfig.json",
"umd": "rollup --config rollup.config.js",
"postinstall": "husky install",
"build-doc": "dumi build",
"publish": "npm publish ./lib --registry=https://registry.npmjs.org",
"publish:alpha": "npm publish ./lib --registry=https://registry.npmjs.org --tag alpha",
"publish:dev": "npm publish ./lib --registry=https://registry.npmjs.org --tag dev"
"publish:dev": "npm publish ./lib --registry=https://registry.npmjs.org --tag dev",
"prepare": "husky"
},
"main": "./cjs/index.js",
"module": "./es/index.js",
Expand Down Expand Up @@ -46,7 +46,7 @@
"dumi": "^1.1.54",
"gulp": "^4.0.2",
"gulp-typescript": "^5.0.1",
"husky": "^8.0.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^2.8.8",
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 e279b4e

Please sign in to comment.