File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed
Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change 1- const conventionalCommits = {
2- preset : 'eslint'
3- }
4-
51module . exports = {
62 release : {
7- branches : [ 'main' ]
8- } ,
9- plugins : [
10- [ '@semantic-release/commit-analyzer' , conventionalCommits ] ,
11- [ '@semantic-release/release-notes-generator' , conventionalCommits ] ,
12- [
13- '@semantic-release/changelog' ,
14- {
15- changelogFile : 'CHANGELOG.md'
16- }
17- ] ,
18- [
19- '@semantic-release/git' ,
20- {
21- assets : [ 'CHANGELOG.md' ]
22- }
23- ] ,
24- '@semantic-release/npm' ,
25- '@semantic-release/github'
26- ]
3+ branches : [ 'main' ] ,
4+ plugins : [
5+ '@semantic-release/commit-analyzer' ,
6+ [
7+ '@semantic-release/npm' ,
8+ {
9+ pkgRoot : 'dist/'
10+ }
11+ ] ,
12+ '@semantic-release/release-notes-generator' ,
13+ [
14+ '@semantic-release/changelog' ,
15+ {
16+ changelogFile : 'CHANGELOG.md'
17+ }
18+ ] ,
19+ [
20+ '@semantic-release/git' ,
21+ {
22+ assets : [ 'CHANGELOG.md' ]
23+ }
24+ ]
25+ ]
26+ }
2727}
You can’t perform that action at this time.
0 commit comments