File tree Expand file tree Collapse file tree 4 files changed +542
-1666
lines changed
Expand file tree Collapse file tree 4 files changed +542
-1666
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+ . " $( dirname -- " $0 " ) /_/husky.sh"
3+
4+ echo " ⏳ Running pre-commit hook..."
5+
6+ pnpm lint
7+ # pnpm test
8+
9+ echo " ✅ Done running pre-commit hook."
10+
11+ exit 0
Original file line number Diff line number Diff line change 4141 "lint" : " exec prettier . --write" ,
4242 "package" : " pnpm build && pnpm pack" ,
4343 "publish:pkg" : " pnpm build && pnpm publish --access public" ,
44- "publish:dev" : " pnpm build && npm link"
44+ "publish:dev" : " pnpm build && npm link" ,
45+ "prepare" : " husky"
4546 },
4647 "devDependencies" : {
4748 "@changesets/cli" : " ^2.27.1" ,
4849 "@types/node" : " 18.15.5" ,
4950 "dotenv" : " 16.0.3" ,
51+ "husky" : " ^9.0.11" ,
5052 "prettier" : " 2.8.6" ,
5153 "tsup" : " 8.0.1" ,
5254 "typescript" : " ^5.0.2"
You can’t perform that action at this time.
0 commit comments