* chore: update package version * chore: fix repository url * chore: enable publish to npm Co-authored-by: bubkoo <bubkoo.wy@gmail.com>
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
{
|
|
"branches": [
|
|
"+([0-9])?(.{+([0-9]),x}).x",
|
|
"master",
|
|
"next",
|
|
"next-major",
|
|
{ "name": "beta", "prerelease": true },
|
|
{ "name": "alpha", "prerelease": true }
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"releaseRules": [
|
|
{ "revert": true, "release": "patch" },
|
|
{ "type": "feat", "release": "minor" },
|
|
{ "type": "build", "release": "patch" },
|
|
{ "type": "docs", "release": "patch" },
|
|
{ "type": "perf", "release": "patch" },
|
|
{ "type": "style", "release": "patch" },
|
|
{ "type": "test", "release": "patch" },
|
|
{ "type": "refactor", "release": "patch" },
|
|
{ "type": "ci", "release": false },
|
|
{ "type": "chore", "release": false },
|
|
{ "scope": "no-release", "release": false }
|
|
]
|
|
}
|
|
],
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/changelog",
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": true
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"addReleases": "bottom"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": ["package.json", "CHANGELOG.md"],
|
|
"message": "chore(release): ${nextRelease.gitTag} [skip ci]"
|
|
}
|
|
]
|
|
]
|
|
}
|