Skip to content

Commit 42e0d76

Browse files
committed
refactor: simplify analyzer and notes for some configs
1 parent 94379a9 commit 42e0d76

2 files changed

Lines changed: 4 additions & 34 deletions

File tree

packages/ducpdf/release.config.cjs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,8 @@ module.exports = {
99
"packages/ducjs",
1010
"packages/ducrs"
1111
],
12-
// This is the one that controls the version bump (major/minor/patch)
13-
analyzer: {
14-
preset: "conventionalcommits",
15-
parserOpts: {
16-
// Temporarily set to a keyword nobody will use
17-
noteKeywords: ["SKIP_BREAKING_DETECTION"],
18-
},
19-
},
20-
21-
// This controls release notes generation (so "Breaking Changes" sections, etc.)
22-
// If you only change `analyzer`, you might still see BREAKING CHANGE notes in output notes.
23-
notes: {
24-
preset: "conventionalcommits",
25-
parserOpts: {
26-
noteKeywords: ["SKIP_BREAKING_DETECTION"],
27-
},
28-
},
12+
analyzer: { preset: "conventionalcommits" },
13+
notes: { preset: "conventionalcommits" },
2914
},
3015
],
3116
[

packages/ducsvg/release.config.cjs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,8 @@ module.exports = {
1010
"packages/ducjs",
1111
"packages/ducrs",
1212
],
13-
// This is the one that controls the version bump (major/minor/patch)
14-
analyzer: {
15-
preset: "conventionalcommits",
16-
parserOpts: {
17-
// Temporarily set to a keyword nobody will use
18-
noteKeywords: ["SKIP_BREAKING_DETECTION"],
19-
},
20-
},
21-
22-
// This controls release notes generation (so "Breaking Changes" sections, etc.)
23-
// If you only change `analyzer`, you might still see BREAKING CHANGE notes in output notes.
24-
notes: {
25-
preset: "conventionalcommits",
26-
parserOpts: {
27-
noteKeywords: ["SKIP_BREAKING_DETECTION"],
28-
},
29-
},
13+
analyzer: { preset: "conventionalcommits" },
14+
notes: { preset: "conventionalcommits" },
3015
},
3116
],
3217
[

0 commit comments

Comments
 (0)