fix: simplify semantic-release config to use default conventional commits

This commit is contained in:
Thomas Hallock 2025-09-28 07:37:39 -05:00
parent 15a9986c76
commit e20765953b
1 changed files with 2 additions and 101 deletions

View File

@ -1,107 +1,8 @@
{ {
"branches": ["main"], "branches": ["main"],
"preset": "conventionalcommits",
"plugins": [ "plugins": [
[ "@semantic-release/commit-analyzer",
"@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",
{
"releaseRules": [
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "revert",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"scope": "BREAKING",
"release": "major"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"presetConfig": {
"types": [
{
"type": "feat",
"section": "🚀 Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "perf",
"section": "⚡ Performance Improvements"
},
{
"type": "revert",
"section": "⏪ Reverts"
},
{
"type": "docs",
"section": "📚 Documentation"
},
{
"type": "style",
"section": "🎨 Styles"
},
{
"type": "refactor",
"section": "♻️ Code Refactoring"
},
{
"type": "test",
"section": "✅ Tests"
},
{
"type": "build",
"section": "🛠 Build System"
},
{
"type": "ci",
"section": "👷 Continuous Integration"
}
]
}
}
],
[ [
"@semantic-release/changelog", "@semantic-release/changelog",
{ {