feat!: use semantic release (#704)

This commit is contained in:
Michael Kriese 2023-03-13 15:21:58 +01:00 committed by GitHub
parent 8463758e93
commit 94faa7df1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 2317 additions and 389 deletions

96
.releaserc.json Normal file
View file

@ -0,0 +1,96 @@
{
"branches": ["release"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["dist", "package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}
],
[
"@semantic-release/github",
{
"releasedLabels": false,
"successComment": false
}
]
],
"analyzeCommits": {
"releaseRules": [
{
"type": "docs",
"scope": "readme.md",
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "skip",
"release": false
}
]
},
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "feature",
"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": "chore",
"section": "Miscellaneous Chores"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration"
},
{
"type": "skip",
"hidden": true
}
]
}
}