Skip to content

Commit

Permalink
chore: Husky 설치 및 Jira 커밋 컨벤션 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeyooon committed Jan 4, 2025
1 parent b435eea commit 09dc2bd
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 9 deletions.
1 change: 1 addition & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm jira-prepare-commit-msg $1
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
"start": "next start",
"lint": "next lint --fix",
"mock": "npx tsx watch ./src/mocks/http.ts",
"dev:mock": "concurrently --kill-others \"NEXT_PUBLIC_API_MOCKING=enable pnpm dev\" \"pnpm mock\""
"dev:mock": "concurrently --kill-others \"NEXT_PUBLIC_API_MOCKING=enable pnpm dev\" \"pnpm mock\"",
"prepare": "husky"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@tanstack/react-query": "^5.62.11",
"@tanstack/react-query-devtools": "^5.62.11",
"jira-prepare-commit-msg": "^1.7.2",
"next": "14.2.22",
"react": "^18",
"react-dom": "^18"
Expand All @@ -36,5 +38,10 @@
"workerDirectory": [
"public"
]
},
"jira-prepare-commit-msg": {
"messagePattern": "[$J] $M",
"allowEmptyCommitMessage": false,
"ignoredBranchesPattern": "^(main|develop)$"
}
}
48 changes: 40 additions & 8 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 09dc2bd

Please sign in to comment.