{
"branches": ["master"],
"repositoryUrl": "https://github.com/openwitty/polymind.git",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "refactor", "release": "patch" },
{ "type": "docs", "release": "patch" },
{ "type": "style", "release": false },
{ "type": "test", "release": false },
{ "type": "build", "release": false },
{ "type": "ci", "release": false },
{ "type": "chore", "release": false },
{ "type": "revert", "release": "patch" },
{ "breaking": true, "release": "major" },
{ "revert": true, "release": "patch" }
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "✨ Features" },
{ "type": "fix", "section": "🐛 Bug Fixes" },
{ "type": "perf", "section": "⚡ Performance" },
{ "type": "refactor", "section": "♻️ Code Refactoring" },
{ "type": "docs", "section": "📝 Documentation" },
{ "type": "revert", "section": "⏪ Reverts" },
{ "type": "style", "section": "💄 Styles", "hidden": true },
{ "type": "test", "section": "✅ Tests", "hidden": true },
{ "type": "build", "section": "📦 Build", "hidden": true },
{ "type": "ci", "section": "👷 CI", "hidden": true },
{ "type": "chore", "section": "🔧 Chores", "hidden": true }
]
},
"writerOpts": {
"commitsSort": ["subject", "scope"]
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://www.conventionalcommits.org/) for commit guidelines."
}
],
[
"@semantic-release/npm",
{
"npmPublish": true,
"pkgRoot": ".",
"tarballDir": "dist"
}
],
[
"@semantic-release/github",
{
"assets": [
{ "path": "dist/*.tgz", "label": "polymind_semantic-${nextRelease.version}.tgz" }
],
"successComment": false,
"failComment": false,
"releasedLabels": ["released"]
}
]
]
}