fix(commands): allow chore type (#7)
allow chore type to permit validate subcommand usage together with release subcommand
This commit is contained in:
@@ -115,6 +115,11 @@ program
|
||||
value: "refactor",
|
||||
hint: "code change that neither fixes a bug nor adds a feature",
|
||||
},
|
||||
{
|
||||
label: "chore",
|
||||
value: "chore",
|
||||
hint: "changes that are routinely, e.g. dependency update or a release commit",
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -462,7 +467,7 @@ program
|
||||
config?.types?.map((type) => type.value).join("|") ||
|
||||
"feat|fix|build|ci|docs|perf|refactor"
|
||||
})(\\((${
|
||||
config?.scopes?.join("|") || "..*"
|
||||
config?.scopes ? [...config?.scopes, "release"] : "..*"
|
||||
})\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,
|
||||
"gm"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user