Skip to content

Commit a25437e

Browse files
author
R0n0066
committed
update(prompt): Add new set of types
1 parent 36a70e2 commit a25437e

File tree

4 files changed

+36
-24
lines changed

4 files changed

+36
-24
lines changed

cmd/cmd-packr.go

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

configs/default.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,26 @@ PROMPT:
22
- KEY: "CHANGE"
33
LABEL: "Select the type of change:"
44
OPTIONS:
5-
- VALUE: "feature"
6-
DESC: "A new feature"
7-
- VALUE: "fix"
8-
DESC: "A Bug fix"
9-
- VALUE: "update"
10-
DESC: "An update code change (moving or split code)"
5+
- VALUE: "build"
6+
DESC: "Changes that affect the build system or external dependencies (example: dep, npm)"
7+
- VALUE: "ci"
8+
DESC: "Changes to our CI configuration files and scripts (example: Drone, stack)"
119
- VALUE: "docs"
1210
DESC: "Documentation only changes"
11+
- VALUE: "feat"
12+
DESC: "A new feature"
13+
- VALUE: "fix"
14+
DESC: "A bug fix"
15+
- VALUE: "perf"
16+
DESC: "A code change that improves performance"
17+
- VALUE: "refactor"
18+
DESC: "A code change that neither fixes a bug nor adds a feature"
1319
- VALUE: "style"
14-
DESC: "Small changes of code style"
20+
DESC: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)"
1521
- VALUE: "test"
16-
DESC: "Add, change or update test code"
22+
DESC: "Adding missing tests or correcting existing tests"
1723
- KEY: "MODULE"
1824
LABEL: "Affected module"
1925
- KEY: "MESSAGE"
2026
LABEL: "Commit message"
21-
TEMPLATE: "{{CHANGE}}({{MODULE}}): {{MESSAGE}}"
27+
TEMPLATE: "{{CHANGE}}({{MODULE}}): {{MESSAGE}}"

configs/jira.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,24 @@ PROMPT:
44
- KEY: "CHANGE"
55
LABEL: "Select the type of change:"
66
OPTIONS:
7-
- VALUE: "feature"
8-
DESC: "A new feature"
9-
- VALUE: "fix"
10-
DESC: "A Bug fix"
11-
- VALUE: "update"
12-
DESC: "An update code change (moving or split code)"
7+
- VALUE: "build"
8+
DESC: "Changes that affect the build system or external dependencies (example: dep, npm)"
9+
- VALUE: "ci"
10+
DESC: "Changes to our CI configuration files and scripts (example: Drone, stack)"
1311
- VALUE: "docs"
1412
DESC: "Documentation only changes"
13+
- VALUE: "feat"
14+
DESC: "A new feature"
15+
- VALUE: "fix"
16+
DESC: "A bug fix"
17+
- VALUE: "perf"
18+
DESC: "A code change that improves performance"
19+
- VALUE: "refactor"
20+
DESC: "A code change that neither fixes a bug nor adds a feature"
1521
- VALUE: "style"
16-
DESC: "Small changes of code style"
22+
DESC: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)"
1723
- VALUE: "test"
18-
DESC: "Add, change or update test code"
24+
DESC: "Adding missing tests or correcting existing tests"
1925
- KEY: "MESSAGE"
2026
LABEL: "Commit message"
21-
TEMPLATE: "{{JIRA-TASK}} ({{CHANGE}}): {{MESSAGE}}"
27+
TEMPLATE: "{{JIRA-TASK}} ({{CHANGE}}): {{MESSAGE}}"

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "go-cmf",
3-
"version": "1.0.25",
3+
"version": "1.0.27",
44
"description": "CMF is an utility to standarize commit messages on porjects",
55
"scripts": {
66
"postinstall": "go-npm install",

0 commit comments

Comments
 (0)