Skip to content

Commit

Permalink
fix: husky v9 명령어 정리, types 설치
Browse files Browse the repository at this point in the history
  • Loading branch information
esthel7 committed Feb 5, 2024
1 parent ca38e27 commit ec8b310
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 91 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# Find commit files
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
[ -z "$FILES" ] && exit 0
Expand Down
214 changes: 129 additions & 85 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"open-browser": "start http://localhost:3000",
"build": "next build",
"start": "next start",
"prepare": "husky create && husky install"
"prepare": "husky"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json}": [
Expand All @@ -26,9 +26,11 @@
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"husky": "^9.0.7",
"@types/node": "^20.11.16",
"@types/react": "^18.2.53",
"husky": "^9.0.10",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"typescript": "5.3.3"
"typescript": "^5.3.3"
}
}

0 comments on commit ec8b310

Please sign in to comment.