conventional-changelog-gitmoji-config

sharable conventional changelog configuration for gitmoji style commit
Configuration File
conventional-changelog-gitmoji-config
uses cosmiconfig to find and load your configuration object. Starting from the current working directory, it looks for the following possible sources:
- a
changelog
property in package.json
- a
.changelogrc
file - a
changelog.config.js
file exporting a JS object
The .changelogrc
file (without extension) can be in JSON or YAML format. You can add a filename extension to help your text editor provide syntax checking and highlighting:
- .changelogrc.json
- .changelogrc.yaml / .changelogrc.yml
- .changelogrc.js
The configuration object has the following signature:
interface ChangelogConfig {
scopeDisplayName?: Record<string, string>;
displayTypes?: string[];
withEmoji?: boolean;
titleLanguage?: 'en-US' | 'zh-CN' | 'mix';
showAuthor?: boolean;
showAuthorAvatar?: boolean;
showSummary?: boolean;
reduceHeadingLevel?: boolean;
newlineTimestamp?: boolean;
addBackToTop?: boolean;
customTypeMap?: { [key in CommitTypes]?: CustomTypeNameMap };
}
👉 Tip: If turn on back to top
button, should edit CHANGELOG.md
first like below:
<a name="readme-top"></a>
# Changelog
License
MIT ® Arvin Xu