mirror of
https://github.com/asyouplz/SpeechNote.git
synced 2026-07-22 06:43:33 +00:00
119 lines
3.4 KiB
JSON
119 lines
3.4 KiB
JSON
{
|
|
"branches": [
|
|
"main"
|
|
],
|
|
"tagFormat": "${version}",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{
|
|
"type": "feat",
|
|
"release": "minor"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"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": "chore",
|
|
"section": "🔧 Maintenance"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": false
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "node scripts/update-version.mjs ${nextRelease.version}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "npm install --package-lock-only"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"manifest.json",
|
|
"package.json",
|
|
"package-lock.json",
|
|
"versions.json"
|
|
],
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
{
|
|
"path": "main.js",
|
|
"label": "Main Plugin File"
|
|
},
|
|
{
|
|
"path": "manifest.json",
|
|
"label": "Manifest"
|
|
},
|
|
{
|
|
"path": "styles.css",
|
|
"label": "Styles"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|