{
    "branches": [
        "+([0-9])?(.{+([0-9]),x}).x",
        "main",
        "next",
        "next-major",
        {
            "name": "beta",
            "prerelease": true,
            "channel": "beta"
        },
        {
            "name": "alpha",
            "prerelease": true,
            "channel": "alpha"
        }
    ],
    "plugins": [
        [
            "@semantic-release/commit-analyzer",
            {
                "preset": "conventionalcommits"
            }
        ],
        [
            "@semantic-release/release-notes-generator",
            {
                "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", "hidden": false },
                        { "type": "style", "section": "Styles", "hidden": false },
                        { "type": "chore", "section": "Miscellaneous Chores", "hidden": false },
                        { "type": "refactor", "section": "Code Refactoring", "hidden": false },
                        { "type": "test", "section": "Tests", "hidden": false },
                        { "type": "build", "section": "Build System", "hidden": false },
                        { "type": "ci", "section": "Continuous Integration", "hidden": false }
                    ]
                }
            }
        ],
        "@semantic-release/changelog",
        "@anolilab/semantic-release-clean-package-json",
        "@semantic-release/npm",
        [
            "@semantic-release/github",
            {
                "successComment": false,
                "failComment": false
            }
        ],
        [
            "@semantic-release/git",
            {
                "message": "chore(release): ${nextRelease.gitTag} [skip ci]\\n\\n${nextRelease.notes}"
            }
        ]
    ]
}
