Skip to content

Commit 1cfc42f

Browse files
committed
fix(changelog): support non-alpha scopes in TYPE_REGEX
Made-with: Cursor
1 parent 15c9d81 commit 1cfc42f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/change-log-constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ module.exports = Object.freeze({
1414
RELEASE_REGEX: new RegExp(/^origin\/release\/v\d{2}\.\d{1,2}\.\d/),
1515
PR_REGEX: new RegExp(/(\(#\d+\))/),
1616
COMMIT_REGEX: new RegExp(/^([\da-zA-Z]+)/),
17-
TYPE_REGEX: new RegExp(/([a-zA-Z]+)(?:\([a-zA-Z]+\))?:/),
17+
TYPE_REGEX: new RegExp(/([a-zA-Z]+)(?:\([\w-]+\))?:/),
1818
GUS_WI_REGEX: new RegExp(/\[W-\d+\]\s*/g)
1919
});

0 commit comments

Comments
 (0)