Skip to content

Commit 003edd4

Browse files
committed
chore: fix release-it config
1 parent a5000d5 commit 003edd4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.release-it.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import type { Config } from 'release-it';
2+
3+
export default {
4+
git: {
5+
requireCleanWorkingDir: false,
6+
commit: true,
7+
tag: true,
8+
push: true,
9+
},
10+
github: {
11+
release: true,
12+
},
13+
npm: {
14+
publish: true,
15+
},
16+
plugins: {
17+
'@release-it/conventional-changelog': {
18+
infile: 'CHANGELOG.md',
19+
header: '# Changelog',
20+
preset: {
21+
name: 'conventionalcommits',
22+
types: [
23+
{ type: 'feat', section: '✨ New Features' },
24+
{ type: 'perf', section: '🚀 Performance' },
25+
{ type: 'fix', section: '🐛 Bug Fixes' },
26+
{ type: 'ci', section: '⚙️ CI' },
27+
{ type: 'build', hidden: true },
28+
{ type: 'docs', section: '📚 Documentation' },
29+
{ type: 'chore', hidden: true },
30+
{ type: 'refactor', hidden: true },
31+
{ type: 'test', hidden: true },
32+
],
33+
},
34+
},
35+
},
36+
} satisfies Config;

0 commit comments

Comments
 (0)