-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchangelog-preset.config.cjs
More file actions
27 lines (26 loc) · 1.16 KB
/
changelog-preset.config.cjs
File metadata and controls
27 lines (26 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* Changelog preset configuration for Lerna.
*
* This file uses [email protected] which is
* CommonJS-compatible. Version 8.x+ is ESM-only and produces broken
* changelog output with Lerna 9.x (missing links, malformed sections).
*
* @see https://github.com/lerna/lerna/issues/4021
*/
const config = require('conventional-changelog-conventionalcommits');
module.exports = config({
types: [
{ type: 'feat', section: 'Features', hidden: false },
{ type: 'fix', section: 'Bug Fixes', hidden: false },
{ type: 'revert', section: 'Reverts', hidden: false },
{ type: 'docs', section: 'Documentation', hidden: false },
{ type: 'deps', section: 'Dependencies', hidden: false },
{ type: 'chore', section: 'Chores', hidden: false },
{ type: 'perf', section: 'Performance Improvements', hidden: false },
{ type: 'style', section: 'Styles', hidden: false },
{ type: 'refactor', section: 'Code Refactoring', hidden: false },
{ type: 'test', section: 'Tests', hidden: false },
{ type: 'build', section: 'Build System', hidden: true },
{ type: 'ci', section: 'Continuous Integration', hidden: true },
],
});