-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.releaseit.cjs
33 lines (32 loc) · 935 Bytes
/
.releaseit.cjs
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
28
29
30
31
32
33
'use strict';
module.exports = {
git: {
commitMessage: 'chore: release v${version}',
requireCleanWorkingDir: true,
},
plugins: {
'@release-it/conventional-changelog': {
preset: {
name: 'conventionalcommits',
types: [
{ type: 'fix', section: '🐞 Bug Fixes' },
{ type: 'feat', section: '🌟 Features' },
{ type: 'infra', section: '🏗 Internal improvements', hidden: true },
{ type: 'perf', section: '⚡️ Performance enhanchements' },
{ type: 'chore', section: '🧼 Chores', hidden: true },
{ type: 'test', section: '✅ Test coverage', hidden: true },
{ type: 'docs', section: '📚 Documentation' },
{ type: 'refactor', section: '♻️ Refactors' },
],
},
infile: 'CHANGELOG.md',
header: '# Changelog',
},
},
hooks: {
'after:@release-it/conventional-changelog:bump': ['yarn'],
'before:init': ['yarn build'],
},
npm: false,
github: false,
};