forked from schibsted/middy-error-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.release-it.js
38 lines (38 loc) · 1.39 KB
/
.release-it.js
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
34
35
36
37
38
module.exports = {
plugins: {
'@release-it/conventional-changelog': {
preset: {
name: 'conventionalcommits',
types: [
{ type: 'feat', section: 'Features' },
{ type: 'feature', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'perf', section: 'Performance Improvements' },
{ type: 'revert', section: 'Reverts' },
{ type: 'docs', section: 'Documentation' },
{ type: 'style', section: 'Styles' },
{ type: 'chore', section: 'Miscellaneous Chores' },
{ type: 'refactor', section: 'Code Refactoring' },
{ type: 'test', section: 'Tests' },
{ type: 'build', section: 'Build System' },
{ type: 'ci', section: 'Continuous Integration' },
{ type: 'config', section: 'Configuration changes' },
],
},
infile: 'CHANGELOG.md',
},
},
git: {
requireCleanWorkingDir: true,
requireBranch: 'main',
commitMessage: 'chore: release ${version} \n\n${changelog}',
tagName: 'v${version}',
},
npm: {
publish: false,
},
github: {
release: true,
tokenRef: 'GITHUB_COM_TOKEN',
},
};