Skip to content

Commit

Permalink
feat: added husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulkitxm committed Oct 7, 2024
1 parent 8d08014 commit a5f05f7
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd core && npx tsc -b && npm run build
1 change: 1 addition & 0 deletions core/.gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
yarn.lock
Empty file modified core/app/page.tsx
100644 → 100755
Empty file.
28 changes: 28 additions & 0 deletions package-lock.json

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

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"devDependencies": {
"husky": "^8.0.0"
},
"scripts": {
"prepare": "husky install"
}
}

0 comments on commit a5f05f7

Please sign in to comment.