soroban-abacus-flashcards/packages/abacus-react/.releaserc.json

74 lines
2.0 KiB
JSON

{
"branches": ["main"],
"repositoryUrl": "https://github.com/antialias/soroban-abacus-flashcards",
"tagFormat": "abacus-react-v${version}",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "feat", "scope": "abacus-react", "release": "minor" },
{ "type": "fix", "scope": "abacus-react", "release": "patch" },
{ "type": "perf", "scope": "abacus-react", "release": "patch" },
{ "type": "refactor", "scope": "abacus-react", "release": "patch" },
{ "breaking": true, "scope": "abacus-react", "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": "style", "section": "Styles" },
{ "type": "test", "section": "Tests" }
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "CHANGELOG.md",
"label": "Changelog"
},
{
"path": "dist/**/*",
"label": "Distribution files"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
],
"message": "chore(abacus-react): release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}