1
+ {
2
+ "plugins": [
3
+ [
4
+ "@semantic-release/commit-analyzer",
5
+ {
6
+ "preset": "angular",
7
+ "releaseRules": [
8
+ { "type": "docs", "release": "patch" },
9
+ { "type": "refactor", "release": "patch" },
10
+ { "type": "perf", "release": "patch" },
11
+ { "type": "revert", "release": "patch" }
12
+ ]
13
+ }
14
+ ],
15
+ [
16
+ "@semantic-release/release-notes-generator",
17
+ {
18
+ "parserOpts": {
19
+ "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
20
+ },
21
+ "preset": "conventionalcommits",
22
+ "presetConfig": {
23
+ "types": [
24
+ { "type": "build", "section": "Build System", "hidden": false },
25
+ { "type": "chore", "section": "Build System", "hidden": false },
26
+ { "type": "ci", "section": "Continuous Integration", "hidden": false },
27
+ { "type": "docs", "section": "Documentation", "hidden": false },
28
+ { "type": "feat", "section": "Features", "hidden": false },
29
+ { "type": "fix", "section": "Bug Fixes", "hidden": false },
30
+ { "type": "perf", "section": "Performance Improvements", "hidden": false },
31
+ { "type": "refactor", "section": "Code Refactoring", "hidden": false },
32
+ { "type": "revert", "section": "Reverted Changes", "hidden": false },
33
+ { "type": "style", "section": "Styles", "hidden": false },
34
+ { "type": "test", "section": "Tests", "hidden": false }
35
+ ]
36
+ },
37
+ "writerOpts": {
38
+ "commitsSort": ["subject", "scope"]
39
+ }
40
+ }
41
+ ],
42
+ "@semantic-release/github",
43
+ "@semantic-release/npm",
44
+ "@semantic-release/git"
45
+ ],
46
+ "branches": ["+([0-9])?(.{+([0-9]),x}).x", "main", {"name": "next", "prerelease": true}]
47
+ }
0 commit comments