-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): override angular issue prefixes
- Loading branch information
1 parent
cabfca3
commit df06921
Showing
2 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* Options for [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog), which is | ||
* used to generate the Rindo changelog at release time. | ||
*/ | ||
module.exports = { | ||
parserOpts: { | ||
/** | ||
* Override the conventional-changelog parser default configuration and any provided preset (e.g. 'Angular') for | ||
* detecting issues. Rindo uses the "Angular preset", which defaults the "issuesPrefixes" field to a single pound | ||
* sign ('#'). This sometimes gets mistaken by the changelog generator as an issue that is fixed, when it fact it's | ||
* cross-reference to another issue. | ||
* | ||
* Note: Only the git commit message is being parsed, not the GitHub Issue summary. For any of the values below to | ||
* be picked up by conventional-changelog, they must be added to the git commit message. | ||
* | ||
* Reference for this property: [GitHub README]{@link https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-commits-parser#issueprefixes} | ||
* By default, [these are case-insensitive]{@link https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-commits-parser#issueprefixescasesensitive)} | ||
*/ | ||
issuePrefixes: [ | ||
'fixes: #', | ||
'fixes:#', | ||
'fixes- #', | ||
'fixes-#', | ||
'fixes #', | ||
'fixes#', | ||
'closes: #', | ||
'closes:#', | ||
'closes- #', | ||
'closes-#', | ||
'closes #', | ||
'closes#', | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters