@alanscodelog/semantic-release-config 4.1.2 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -2
- package/release.config.js +8 -7
- package/template.hbs +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
[](https://github.com/alanscodelog/my-semantic-release-config/actions/workflows/release.yml)
|
|
2
|
+
[](https://www.npmjs.com/package/@alanscodelog/semantic-release-config/v/latest)
|
|
2
3
|
|
|
3
4
|
My preferred semantic release config, with support for 0.0.0 versioned releases and showing the full commit body in the release notes.
|
|
4
5
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alanscodelog/semantic-release-config",
|
|
3
3
|
"description": "My preferred semantic release config.",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "release.config.js",
|
|
7
7
|
"scripts": {
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"@semantic-release/github": "^10.0.5",
|
|
17
17
|
"@semantic-release/npm": "^12.0.1",
|
|
18
18
|
"@semantic-release/release-notes-generator": "^13.0.0",
|
|
19
|
-
"conventional-changelog-conventionalcommits": "^7.0.0",
|
|
20
19
|
"semantic-release": "^23.1.1"
|
|
21
20
|
},
|
|
22
21
|
"devDependencies": {
|
package/release.config.js
CHANGED
|
@@ -47,18 +47,22 @@ const releaseRules = types.filter(_ => _.release !== undefined).map(_ => {
|
|
|
47
47
|
})
|
|
48
48
|
|
|
49
49
|
const presetConfig_types = types.filter(_ => _.section !== undefined).map(_ => ({ type: _.type, section: _.section, hidden: _.hidden }))
|
|
50
|
+
const parserOpts = {
|
|
51
|
+
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES"]
|
|
52
|
+
}
|
|
50
53
|
|
|
51
54
|
export default{
|
|
52
55
|
__types: types,
|
|
53
56
|
plugins: [
|
|
54
57
|
[ "@semantic-release/commit-analyzer", {
|
|
55
58
|
releaseRules,
|
|
56
|
-
|
|
57
|
-
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
|
|
58
|
-
}
|
|
59
|
+
parserOpts,
|
|
59
60
|
} ],
|
|
60
61
|
[ "@semantic-release/release-notes-generator", {
|
|
61
|
-
|
|
62
|
+
parserOpts,
|
|
63
|
+
presetConfig: {
|
|
64
|
+
types: presetConfig_types
|
|
65
|
+
},
|
|
62
66
|
writerOpts: {
|
|
63
67
|
groupBy: "type",
|
|
64
68
|
// sorts commits in each group by if they have a scope (last) and then by date
|
|
@@ -90,9 +94,6 @@ export default{
|
|
|
90
94
|
}
|
|
91
95
|
} :{}),
|
|
92
96
|
},
|
|
93
|
-
presetConfig: {
|
|
94
|
-
types: presetConfig_types
|
|
95
|
-
}
|
|
96
97
|
} ],
|
|
97
98
|
"@semantic-release/github",
|
|
98
99
|
"@semantic-release/npm",
|