4 Commits

3 changed files with 13 additions and 2 deletions

View File

@@ -2,6 +2,17 @@
Generation of this changelog is based on commits Generation of this changelog is based on commits
## 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 ## v1.4.0
### Features ### Features

View File

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

View File

@@ -465,7 +465,7 @@ program
const testRegex = new RegExp( const testRegex = new RegExp(
`(${ `(${
config?.types?.map((type) => type.value).join("|") || 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"] : "..*"
})\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`, })\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,