8 Commits

4 changed files with 21 additions and 10 deletions

View File

@@ -1,9 +1,3 @@
{
"scopes": [
"commands",
"changelog",
"readme",
"release",
"config"
]
"scopes": ["commands", "changelog", "readme", "release", "config"]
}

View File

@@ -2,6 +2,23 @@
Generation of this changelog is based on commits
## v1.5.1
### Fixes
- [6c663cf7f] - **commands**: allow chore type in validation regex
## v1.5.0
### Features
- [92f8126ab] - **commands**: add --amend option to commit sub-command
- [5080d71fb] - **config**: allow more config file names
### Fixes
- [53bb1437a] - **commands**: allow chore type (#7)
## v1.4.0
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@resultium/rcz",
"version": "1.5.0",
"version": "1.5.2",
"description": "Resultium commit standardization library, based on conventional commits",
"main": "./dist/index.js",
"bin": {

View File

@@ -465,9 +465,9 @@ program
const testRegex = new RegExp(
`(${
config?.types?.map((type) => type.value).join("|") ||
"feat|fix|build|ci|docs|perf|refactor"
"feat|fix|build|ci|docs|perf|refactor|chore"
})(\\((${
config?.scopes ? [...config?.scopes, "release"] : "..*"
config?.scopes ? [...config?.scopes, "release"].join("|") : "..*"
})\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,
"gm"
);