Skip to content

Commit 8dfcd26

Browse files
committed
chore: Husky 및 commit-msg 훅 설정
1 parent fefd8dd commit 8dfcd26

File tree

4 files changed

+280
-0
lines changed

4 files changed

+280
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,5 @@ secrets.properties
204204
!/gradle/wrapper/gradle-wrapper.jar
205205

206206
# End of https://www.toptal.com/developers/gitignore/api/macos,android,androidstudio
207+
208+
node_modules/

.husky/commit-msg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
npx jira-prepare-commit-msg "$1"

package-lock.json

Lines changed: 245 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "booketandroid",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"prepare": "husky install"
8+
},
9+
"devDependencies": {
10+
"husky": "^9.1.7",
11+
"jira-prepare-commit-msg": "^1.7.2"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/YAPP-Github/26th-App-Team-1-Android.git"
16+
},
17+
"keywords": [],
18+
"author": "",
19+
"license": "ISC",
20+
"type": "commonjs",
21+
"bugs": {
22+
"url": "https://github.com/YAPP-Github/26th-App-Team-1-Android/issues"
23+
},
24+
"homepage": "https://github.com/YAPP-Github/26th-App-Team-1-Android#readme",
25+
"jira-prepare-commit-msg": {
26+
"messagePattern": "[$J] $M",
27+
"allowEmptyCommitMessage": false,
28+
"ignoredBranchesPattern": "^(master|main|dev|develop|development|release)$"
29+
}
30+
}

0 commit comments

Comments
 (0)