|
1 | 1 | { |
2 | 2 | "branches": ["main", {"name": "pre/*", "prerelease": true}], |
3 | 3 | "plugins": [ |
4 | | - "@semantic-release/commit-analyzer", |
5 | | - "@semantic-release/release-notes-generator", |
| 4 | + ["@semantic-release/commit-analyzer", { |
| 5 | + "preset": "conventionalcommits", |
| 6 | + "releaseRules": [ |
| 7 | + {"type": "docs", "scope": "README", "release": "patch"}, |
| 8 | + {"type": "refactor", "release": "patch"}, |
| 9 | + {"type": "style", "release": "patch"} |
| 10 | + ] |
| 11 | + }], |
| 12 | + ["@semantic-release/release-notes-generator", { |
| 13 | + "preset": "conventionalcommits", |
| 14 | + "presetConfig": { |
| 15 | + "types": [ |
| 16 | + {"type": "feat", "section": "Features"}, |
| 17 | + {"type": "fix", "section": "Bug Fixes"}, |
| 18 | + {"type": "chore", "section": "Maintenance"}, |
| 19 | + {"type": "docs", "section": "Documentation"}, |
| 20 | + {"type": "style", "section": "Styling"}, |
| 21 | + {"type": "refactor", "section": "Refactoring"}, |
| 22 | + {"type": "perf", "section": "Performance"}, |
| 23 | + {"type": "test", "section": "Testing"} |
| 24 | + ] |
| 25 | + } |
| 26 | + }], |
6 | 27 | "@semantic-release/changelog", |
7 | 28 | ["semantic-release-pypi", { |
8 | 29 | "path": "./scrapegraph-py" |
|
0 commit comments