|
| 1 | +{ |
| 2 | + "branches": [ |
| 3 | + { |
| 4 | + "name": "1.x", |
| 5 | + "range": "1.x", |
| 6 | + "channel": "1.x" |
| 7 | + }, |
| 8 | + { |
| 9 | + "name": "2.x", |
| 10 | + "range": "2.x", |
| 11 | + "channel": "2.x" |
| 12 | + }, |
| 13 | + { |
| 14 | + "name": "main" |
| 15 | + }, |
| 16 | + { |
| 17 | + "name": "development", |
| 18 | + "prerelease": "alpha", |
| 19 | + "channel": "alpha" |
| 20 | + } |
| 21 | + ], |
| 22 | + "plugins": [ |
| 23 | + [ |
| 24 | + "@semantic-release/commit-analyzer", |
| 25 | + { |
| 26 | + "parserOpts": { |
| 27 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] |
| 28 | + }, |
| 29 | + "preset": "angular", |
| 30 | + "releaseRules": [ |
| 31 | + { "type": "build", "release": "patch" }, |
| 32 | + { "type": "refactor", "release": "patch" }, |
| 33 | + { "type": "style", "release": "patch" } |
| 34 | + ] |
| 35 | + } |
| 36 | + ], |
| 37 | + [ |
| 38 | + "@semantic-release/release-notes-generator", |
| 39 | + { |
| 40 | + "parserOpts": { |
| 41 | + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"] |
| 42 | + }, |
| 43 | + "preset": "conventionalcommits", |
| 44 | + "presetConfig": { |
| 45 | + "types": [ |
| 46 | + { "type": "build", "section": "Build System", "hidden": false }, |
| 47 | + { |
| 48 | + "type": "ci", |
| 49 | + "section": "Continuous Integration", |
| 50 | + "hidden": false |
| 51 | + }, |
| 52 | + { "type": "docs", "section": "Documentation", "hidden": false }, |
| 53 | + { "type": "feat", "section": "Features", "hidden": false }, |
| 54 | + { "type": "fix", "section": "Bug Fixes", "hidden": false }, |
| 55 | + { |
| 56 | + "type": "perf", |
| 57 | + "section": "Performance Improvements", |
| 58 | + "hidden": false |
| 59 | + }, |
| 60 | + { |
| 61 | + "type": "refactor", |
| 62 | + "section": "Code Refactoring", |
| 63 | + "hidden": false |
| 64 | + }, |
| 65 | + { "type": "style", "section": "Styles", "hidden": false }, |
| 66 | + { "type": "test", "section": "Tests", "hidden": false } |
| 67 | + ] |
| 68 | + }, |
| 69 | + "writerOpts": { |
| 70 | + "commitsSort": ["subject", "scope"] |
| 71 | + } |
| 72 | + } |
| 73 | + ], |
| 74 | + "@semantic-release/npm", |
| 75 | + "@semantic-release/github" |
| 76 | + ] |
| 77 | +} |
0 commit comments