|
| 1 | +{ |
| 2 | + "branches": ["main"], |
| 3 | + "plugins": [ |
| 4 | + [ |
| 5 | + "@semantic-release/commit-analyzer", |
| 6 | + { |
| 7 | + "releaseRules": [ |
| 8 | + { "type": "feat", "release": "minor" }, |
| 9 | + { "type": "fix", "release": "patch" }, |
| 10 | + { "type": "docs", "release": "patch" }, |
| 11 | + { "type": "style", "release": "patch" }, |
| 12 | + { "type": "refactor", "release": "patch" }, |
| 13 | + { "type": "perf", "release": "patch" }, |
| 14 | + { "type": "test", "release": "patch" }, |
| 15 | + { "type": "build", "release": "patch" }, |
| 16 | + { "type": "ci", "release": "patch" }, |
| 17 | + { "type": "chore", "release": "patch" }, |
| 18 | + { "type": "revert", "release": "patch" } |
| 19 | + ] |
| 20 | + } |
| 21 | + ], |
| 22 | + "@semantic-release/release-notes-generator", |
| 23 | + [ |
| 24 | + "@semantic-release/changelog", |
| 25 | + { |
| 26 | + "changelogFile": "CHANGELOG.md" |
| 27 | + } |
| 28 | + ], |
| 29 | + [ |
| 30 | + "@semantic-release/npm", |
| 31 | + { |
| 32 | + "npmPublish": true, |
| 33 | + "provenance": true |
| 34 | + } |
| 35 | + ], |
| 36 | + [ |
| 37 | + "@semantic-release/git", |
| 38 | + { |
| 39 | + "assets": ["CHANGELOG.md", "package.json"], |
| 40 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 41 | + } |
| 42 | + ], |
| 43 | + "@semantic-release/github" |
| 44 | + ] |
| 45 | +} |
0 commit comments