|
| 1 | +{ |
| 2 | + "branches": [ |
| 3 | + "main", |
| 4 | + { "name": "beta", "prerelease": true }, |
| 5 | + { "name": "alpha", "prerelease": true } |
| 6 | + ], |
| 7 | + "tagFormat": "v${version}", |
| 8 | + "plugins": [ |
| 9 | + [ |
| 10 | + "@semantic-release/commit-analyzer", |
| 11 | + { |
| 12 | + "preset": "conventionalcommits", |
| 13 | + "releaseRules": [ |
| 14 | + { "type": "security", "release": "patch" }, |
| 15 | + { "type": "perf", "release": "patch" }, |
| 16 | + { "type": "refactor", "release": "patch" }, |
| 17 | + { "type": "build", "release": "patch" }, |
| 18 | + { "type": "revert", "release": "patch" }, |
| 19 | + { "type": "docs", "release": false }, |
| 20 | + { "type": "test", "release": false }, |
| 21 | + { "type": "ci", "release": false }, |
| 22 | + { "type": "chore", "release": false } |
| 23 | + ], |
| 24 | + "parserOpts": { |
| 25 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] |
| 26 | + } |
| 27 | + } |
| 28 | + ], |
| 29 | + [ |
| 30 | + "@semantic-release/release-notes-generator", |
| 31 | + { |
| 32 | + "preset": "conventionalcommits", |
| 33 | + "presetConfig": { |
| 34 | + "types": [ |
| 35 | + { "type": "feat", "section": "Features" }, |
| 36 | + { "type": "fix", "section": "Bug Fixes" }, |
| 37 | + { "type": "security", "section": "Security" }, |
| 38 | + { "type": "perf", "section": "Performance" }, |
| 39 | + { "type": "refactor", "section": "Refactoring" }, |
| 40 | + { "type": "build", "section": "Build" }, |
| 41 | + { "type": "revert", "section": "Reverts" }, |
| 42 | + { "type": "docs", "section": "Documentation", "hidden": true }, |
| 43 | + { "type": "test", "section": "Tests", "hidden": true }, |
| 44 | + { "type": "ci", "section": "CI", "hidden": true }, |
| 45 | + { "type": "chore", "section": "Chores", "hidden": true } |
| 46 | + ] |
| 47 | + } |
| 48 | + } |
| 49 | + ], |
| 50 | + "@semantic-release/changelog", |
| 51 | + [ |
| 52 | + "@semantic-release/npm", |
| 53 | + { |
| 54 | + "pkgRoot": "packages/cli", |
| 55 | + "npmPublish": false |
| 56 | + } |
| 57 | + ], |
| 58 | + [ |
| 59 | + "@semantic-release/git", |
| 60 | + { |
| 61 | + "assets": [ |
| 62 | + "CHANGELOG.md", |
| 63 | + "packages/cli/package.json" |
| 64 | + ], |
| 65 | + "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 66 | + } |
| 67 | + ], |
| 68 | + [ |
| 69 | + "@semantic-release/github", |
| 70 | + { |
| 71 | + "successComment": false, |
| 72 | + "failComment": false |
| 73 | + } |
| 74 | + ] |
| 75 | + ] |
| 76 | +} |
0 commit comments