diff --git a/.cz-config.js b/.cz-config.js index 4fab200f5c5..02a6b6cfa83 100644 --- a/.cz-config.js +++ b/.cz-config.js @@ -13,19 +13,17 @@ 'use strict'; module.exports = { - allowBreakingChanges: ['ast'], - allowCustomScopes: true, - scopes: [], - types: [ - {value: 'new_feature', name: 'new_feature: A new feature'}, { - value: 'ast', - name: 'ast: init, migrate, add, etc' - }, - {value: 'tests', name: 'tests: Tests, jest, binTestCases etc'}, - {value: 'docs', name: 'docs: Documentation'}, - {value: 'deps', name: 'deps: Dependency bumps only'}, - {value: 'cli', name: 'cli: core CLI things'}, - {value: 'misc', name: 'misc: Other formats like tweaks and such'}, - {value: 'chore', name: 'chore: Updating docs, linting etc'}, - ] -}; \ No newline at end of file + allowBreakingChanges: ["ast"], + allowCustomScopes: true, + scopes: [], + types: [ + { value: "feat", name: "feat: A new feature" }, + { value: "ast", name: "ast: init, migrate, add, etc" }, + { value: "tests", name: "tests: Tests, jest, binTestCases, etc" }, + { value: "docs", name: "docs: Documentation" }, + { value: "deps", name: "deps: Dependency bumps only" }, + { value: "cli", name: "cli: Core CLI things" }, + { value: "misc", name: "misc: Other formats like tweaks and such" }, + { value: "chore", name: "chore: Updating docs, linting, etc" }, + ] +}; diff --git a/build/changelog-generator/index.js b/build/changelog-generator/index.js index 41eb04fd395..2ee5fa4636d 100644 --- a/build/changelog-generator/index.js +++ b/build/changelog-generator/index.js @@ -42,7 +42,7 @@ const writerOpts = { commit.type = "tests"; } else if (commit.type === "cli") { commit.type = "CLI"; - } else if (commit.type === "new_feature") { + } else if (commit.type === "new_feature" || commit.type === "feat") { commit.type = "New Features"; }