{ "branches": ["main"], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "type": "feat", "release": "minor" }, { "type": "fix", "release": "patch" }, { "type": "perf", "release": "patch" }, { "type": "refactor", "release": "patch" }, { "type": "docs", "release": "patch" }, { "type": "style", "release": false }, { "type": "chore", "release": false }, { "type": "test", "release": false }, { "type": "build", "release": false }, { "type": "ci", "release": false }, { "type": "revert", "release": "patch" }, { "breaking": true, "release": "major" } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "✨ Features" }, { "type": "fix", "section": "🐛 Bug Fixes" }, { "type": "perf", "section": "⚡ Performance Improvements" }, { "type": "refactor", "section": "♻️ Code Refactoring" }, { "type": "docs", "section": "📝 Documentation" }, { "type": "revert", "section": "⏪ Reverts" } ] } } ], [ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md", "changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/)." } ], [ "@semantic-release/npm", { "npmPublish": true, "tarballDir": "dist" } ], [ "@semantic-release/github", { "assets": [ { "path": "dist/*.tgz", "label": "npm package" } ], "successComment": "🎉 This ${issue.pull_request ? 'pull request' : 'issue'} is included in [version ${nextRelease.version}](${releases[0].url})", "labels": false, "releasedLabels": ["released"] } ], [ "@semantic-release/git", { "assets": ["CHANGELOG.md", "package.json"], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] }