{ "branches": ["main"], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", [ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md", "changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file." } ], [ "@semantic-release/npm", { "npmPublish": false } ], [ "@semantic-release/git", { "assets": ["CHANGELOG.md", "package.json"], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ], "@semantic-release/github" ], "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "chore", "hidden": true }, { "type": "docs", "section": "Documentation" }, { "type": "style", "hidden": true }, { "type": "refactor", "section": "Code Refactoring" }, { "type": "perf", "section": "Performance Improvements" }, { "type": "test", "hidden": true } ] }, "releaseRules": [ { "type": "feat", "release": "minor" }, { "type": "fix", "release": "patch" }, { "type": "perf", "release": "patch" }, { "type": "refactor", "release": "patch" }, { "type": "docs", "release": false }, { "type": "test", "release": false }, { "type": "chore", "release": false } ], "generateNotes": { "preset": "conventionalcommits", "writerOpts": { "commitPartial": "* {{#if scope}}**{{scope}}:** {{/if}}{{subject}} ({{hash}})" } } }