Skip to content

Commit 8a44d86

Browse files
committed
feat: improve default types
1 parent de88ff6 commit 8a44d86

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

package.json

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,48 @@
6868
"gitSemanticCommit.types": {
6969
"type": "array",
7070
"default": [
71-
"chore",
72-
"docs",
73-
"feat",
74-
"fix",
75-
"refactor",
76-
"style",
77-
"test"
71+
{
72+
"type": "build",
73+
"description": "Development changes related to the build system"
74+
},
75+
{
76+
"type": "ci",
77+
"description": "Development changes related to the continuous integration and deployment system"
78+
},
79+
{
80+
"type": "docs",
81+
"description": "Documentation changes related to the project"
82+
},
83+
{
84+
"type": "feat",
85+
"description": "Production changes related to new backward-compatible abilities or functionality"
86+
},
87+
{
88+
"type": "fix",
89+
"description": "Production changes related to backward-compatible bug fixes"
90+
},
91+
{
92+
"type": "perf",
93+
"description": "Production changes related to backward-compatible performance improvements"
94+
},
95+
{
96+
"type": "refactor",
97+
"description": "Development changes related to modifying the codebase"
98+
},
99+
{
100+
"type": "style",
101+
"description": "Development changes related to styling the codebase"
102+
},
103+
{
104+
"type": "test",
105+
"description": "Development changes related to tests"
106+
}
78107
],
79108
"items": {
80-
"type": ["string", "object"],
109+
"type": [
110+
"string",
111+
"object"
112+
],
81113
"description": "Can be either a string, or an object. If an object, use type for the commit type, and description to give a short description for the particular commit type."
82114
},
83115
"minItems": 1,

0 commit comments

Comments
 (0)