vibecoded-personal-site/.releaserc.json

61 lines
2 KiB
JSON

{
"branches": ["main"],
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "breaking", "section": "BREAKING CHANGES" },
{ "type": "feat", "section": "New Features" },
{ "type": "new", "section": "New Features" },
{ "type": "update", "section": "Dependencies" },
{ "type": "upgrade", "section": "Dependencies" },
{ "type": "deps", "section": "Dependencies" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "build", "section": "Build" },
{ "type": "ci", "section": "CI/CD" },
{ "type": "docs", "section": "Documentation" },
{ "type": "refactor", "section": "Refactor" },
{ "type": "chore", "hidden": true }
]
},
"plugins": [
[
"semantic-release-unsquash",
{
"commitAnalyzerConfig": {
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "revert": true, "release": "patch" },
{ "type": "breaking", "release": "major" },
{ "type": "feat", "release": "minor" },
{ "type": "update", "release": "minor" },
{ "type": "upgrade", "release": "minor" },
{ "type": "deps", "release": "minor" },
{ "type": "new", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "build", "release": false },
{ "type": "ci", "release": false },
{ "type": "chore", "release": false },
{ "type": "docs", "release": false },
{ "type": "refactor", "release": false }
]
},
"notesGeneratorConfig": false
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
"message": "chore: Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}