Skip to content

Commit b80897b

Browse files
authored
Merge pull request #44 from pss-aileen/feat/#43-add-prefix-team-projexts
💕 feat: 共同プロジェクトのprefix追加、issue番号の括弧を削除 #43
2 parents 02c762a + 1ac00bb commit b80897b

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

dist/data/data.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,49 @@
175175
"description": "取り組んだ問題"
176176
}
177177
]
178+
},
179+
{
180+
"id": "4",
181+
"prefixType": "first-contributions-ja",
182+
"icon": "🤝",
183+
"displayName": "First Contributions JA",
184+
"htmlClassName": "firstContributionsJAPrefixList",
185+
"prefix": [
186+
{
187+
"id": "0",
188+
"constant": "fcj-feat",
189+
"prefixIcon": "",
190+
"prefixText": "feat",
191+
"description": "新機能追加関連"
192+
},
193+
{
194+
"id": "1",
195+
"constant": "fcj-docs",
196+
"prefixIcon": "📚",
197+
"prefixText": "docs",
198+
"description": "ドキュメントの追加・修正・削除"
199+
},
200+
{
201+
"id": "2",
202+
"constant": "fcj-fix",
203+
"prefixIcon": "🐛",
204+
"prefixText": "fix",
205+
"description": "機能やバグに関する修正"
206+
},
207+
{
208+
"id": "3",
209+
"constant": "fcj-style",
210+
"prefixIcon": "🎨",
211+
"prefixText": "style",
212+
"description": "スタイル関連"
213+
},
214+
{
215+
"id": "4",
216+
"constant": "fcj-chore",
217+
"prefixIcon": "🔧",
218+
"prefixText": "chore",
219+
"description": "雑事、カテゴライズする必要のないもの"
220+
}
221+
]
178222
}
179223
]

dist/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198

199199
getCommitFirstLineWithIssue() {
200-
return ` -m "${this.prefixIcon} ${this.prefixName}: ${this.subject} (#${this.issue})"`;
200+
return ` -m "${this.prefixIcon} ${this.prefixName}: ${this.subject} #${this.issue}"`;
201201
}
202202

203203
getCommitSecondLine() {

src/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198

199199
getCommitFirstLineWithIssue() {
200-
return ` -m "${this.prefixIcon} ${this.prefixName}: ${this.subject} (#${this.issue})"`;
200+
return ` -m "${this.prefixIcon} ${this.prefixName}: ${this.subject} #${this.issue}"`;
201201
}
202202

203203
getCommitSecondLine() {

0 commit comments

Comments
 (0)