{ "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits" } ], [ "@semantic-release/release-notes-generator", { "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": "Refactors" }, { "type": "perf", "section": "Performance" }, { "type": "test", "hidden": true }, { "type": "depr", "section": "Deprecations" } ] } } ], [ "semantic-release-replace-plugin", { "replacements": [ { "files": [ "package.json" ], "from": "\"version\": \".*\"", "to": "\"version\": \"${nextRelease.version}\"", "results": [ { "file": "package.json", "hasChanged": true, "numMatches": 1, "numReplacements": 1 } ], "countMatches": true } ] } ], [ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md", "changelogTitle": "# Changelog" } ], "@semantic-release/github", [ "@semantic-release/git", { "assets": [ "package.json", "CHANGELOG.md" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] }