Merge pull request 'Allow chore type in validation regex' (#9) from develop into main

Reviewed-on: technology/rcz#9
This commit is contained in:
2023-08-23 19:54:05 +00:00
3 changed files with 8 additions and 2 deletions

View File

@@ -2,6 +2,12 @@
Generation of this changelog is based on commits
## v1.5.1
### Fixes
- [6c663cf7f] - **commands**: allow chore type in validation regex
## v1.5.0
### Features

View File

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

View File

@@ -465,7 +465,7 @@ 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"] : "..*"
})\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,