Skip to content

Commit e191d09

Browse files
Updated dependencies and upgraded husky
1 parent c9890fa commit e191d09

5 files changed

Lines changed: 8451 additions & 13907 deletions

File tree

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx pretty-quick --staged

.husky/pre-push

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/bash
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run generate:examples && \
5+
(
6+
git checkout -- examples/generated/mocks/json-server/db.json && \
7+
git add examples/ && \
8+
git commit -m 'Updated examples' \
9+
|| echo 'No example changes'
10+
)

0 commit comments

Comments
 (0)