|
| 1 | +{ |
| 2 | + "branches": ["main"], |
| 3 | + "tagFormat": "@aziontech/theme@${version}", |
| 4 | + "plugins": [ |
| 5 | + [ |
| 6 | + "@semantic-release/commit-analyzer", |
| 7 | + { |
| 8 | + "preset": "conventionalcommits", |
| 9 | + "parserOpts": { |
| 10 | + "headerPattern": "^(\\[\\w+-\\d+\\]\\s+)?(\\w+):\\s(.*)$", |
| 11 | + "headerCorrespondence": ["ticket", "type", "subject"] |
| 12 | + }, |
| 13 | + "releaseRules": [ |
| 14 | + { "type": "feat", "release": "minor" }, |
| 15 | + { "type": "fix", "release": "patch" }, |
| 16 | + { "type": "hotfix", "release": "patch" }, |
| 17 | + { "type": "chore", "release": "patch" }, |
| 18 | + { "type": "docs", "release": "patch" }, |
| 19 | + { "type": "style", "release": "patch" }, |
| 20 | + { "type": "refactor", "release": "patch" } |
| 21 | + ] |
| 22 | + } |
| 23 | + ], |
| 24 | + [ |
| 25 | + "@semantic-release/release-notes-generator", |
| 26 | + { |
| 27 | + "preset": "conventionalcommits", |
| 28 | + "parserOpts": { |
| 29 | + "headerPattern": "^(\\[\\w+-\\d+\\]\\s+)?(\\w+):\\s(.*)$", |
| 30 | + "headerCorrespondence": ["ticket", "type", "subject"] |
| 31 | + } |
| 32 | + } |
| 33 | + ], |
| 34 | + "@semantic-release/changelog", |
| 35 | + [ |
| 36 | + "@semantic-release/npm", |
| 37 | + { |
| 38 | + "npmPublish": false |
| 39 | + } |
| 40 | + ], |
| 41 | + [ |
| 42 | + "@semantic-release/exec", |
| 43 | + { |
| 44 | + "prepareCmd": "node scripts/build.mjs", |
| 45 | + "publishCmd": "npm publish ./dist --provenance --access public" |
| 46 | + } |
| 47 | + ], |
| 48 | + [ |
| 49 | + "@semantic-release/git", |
| 50 | + { |
| 51 | + "assets": [ |
| 52 | + "package.json", |
| 53 | + "CHANGELOG.md" |
| 54 | + ], |
| 55 | + "message": "chore(release): @aziontech/theme ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" |
| 56 | + } |
| 57 | + ], |
| 58 | + [ |
| 59 | + "@semantic-release/github", |
| 60 | + { |
| 61 | + "labels": false |
| 62 | + } |
| 63 | + ] |
| 64 | + ] |
| 65 | +} |
0 commit comments