Skip to content

Commit d1b5f0a

Browse files
committed
fix: unnecessary config
1 parent 20003ec commit d1b5f0a

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

release.config.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
const conventionalCommits = {
2-
preset: 'eslint'
3-
}
4-
51
module.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
}

0 commit comments

Comments
 (0)