Skip to content

Commit e2356e4

Browse files
Merge pull request #155 from emulsify-ds/develop
fix: bypass the plugin’s internal “require by string” logic by import…
2 parents dcca7ad + 9cde9af commit e2356e4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

release.config.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// release.config.mjs
22
import analyzeCommits from '@semantic-release/commit-analyzer';
3+
import { parserOpts } from 'conventional-changelog-angular';
34
import generateNotes from '@semantic-release/release-notes-generator';
45
import npm from '@semantic-release/npm';
56
import github from '@semantic-release/github';
@@ -8,8 +9,9 @@ export default {
89
branches: ['main'],
910
repositoryUrl: 'git@github.com:emulsify-ds/emulsify-core.git',
1011
plugins: [
11-
[analyzeCommits, { preset: 'angular' }],
12-
[generateNotes],
12+
// Pass the actual function + its parserOpts
13+
[analyzeCommits, { parserOpts }],
14+
[generateNotes, { writerOpts: /* optional: conventionalChangelogAngular.writerOpts */ }],
1315
[npm, { npmPublish: false }],
1416
[github],
1517
],

0 commit comments

Comments
 (0)