|
1 | 1 | { |
2 | 2 | "branches": ["main"], |
3 | 3 | "plugins": [ |
4 | | - "@semantic-release/commit-analyzer", |
5 | | - "@semantic-release/release-notes-generator", |
| 4 | + [ |
| 5 | + "@semantic-release/commit-analyzer", |
| 6 | + { |
| 7 | + "releaseRules": [ |
| 8 | + {"type": "feat", "release": "minor"}, |
| 9 | + {"type": "fix", "release": "patch"}, |
| 10 | + {"type": "perf", "release": "patch"}, |
| 11 | + {"type": "revert", "release": "patch"}, |
| 12 | + {"type": "docs", "release": "patch"}, |
| 13 | + {"type": "style", "release": "patch"}, |
| 14 | + {"type": "refactor", "release": "patch"}, |
| 15 | + {"type": "test", "release": "patch"}, |
| 16 | + {"type": "tst", "release": "patch"}, |
| 17 | + {"type": "ci", "release": "patch"}, |
| 18 | + {"type": "chore", "release": "patch"}, |
| 19 | + {"breaking": true, "release": "major"} |
| 20 | + ] |
| 21 | + } |
| 22 | + ], |
| 23 | + [ |
| 24 | + "@semantic-release/release-notes-generator", |
| 25 | + { |
| 26 | + "preset": "conventionalcommits", |
| 27 | + "presetConfig": { |
| 28 | + "types": [ |
| 29 | + {"type": "feat", "section": "Features"}, |
| 30 | + {"type": "fix", "section": "Bug Fixes"}, |
| 31 | + {"type": "perf", "section": "Performance Improvements"}, |
| 32 | + {"type": "revert", "section": "Reverts"}, |
| 33 | + {"type": "docs", "section": "Documentation"}, |
| 34 | + {"type": "style", "section": "Styles"}, |
| 35 | + {"type": "refactor", "section": "Code Refactoring"}, |
| 36 | + {"type": "test", "section": "Tests"}, |
| 37 | + {"type": "tst", "section": "Tests"}, |
| 38 | + {"type": "ci", "section": "Continuous Integration"}, |
| 39 | + {"type": "chore", "section": "Chores"} |
| 40 | + ] |
| 41 | + } |
| 42 | + } |
| 43 | + ], |
6 | 44 | [ |
7 | 45 | "@semantic-release/github", |
8 | 46 | { |
|
0 commit comments