-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconventional-changelog.config.mjs
More file actions
25 lines (22 loc) · 1.05 KB
/
conventional-changelog.config.mjs
File metadata and controls
25 lines (22 loc) · 1.05 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
// Ref: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-conventionalcommits
import createPreset from 'conventional-changelog-conventionalcommits'
const config = await createPreset({
types: [
{ type: 'feat', section: 'Features' },
{ type: 'feature', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'build', section: 'Build' },
{ type: 'perf', section: 'Performance Improvements' },
{ type: 'docs', section: 'Documentation', hidden: true },
{ type: 'style', section: 'Styles', hidden: true },
{ type: 'chore', section: 'Miscellaneous Chores', hidden: true },
{ type: 'refactor', section: 'Code Refactoring', hidden: true },
{ type: 'test', section: 'Tests', hidden: true },
{ type: 'ci', section: 'Continuous Integration', hidden: true },
// Holistics custom types
// TODO: make our own preset?
{ type: 'security', section: 'Security' },
{ type: 'release', section: 'New Release', hidden: true },
],
})
export default config