{
  "branches": ["main"],
  "preset": "conventionalcommits",
  "presetConfig": {
    "types": [
      { "type": "breaking", "section": "BREAKING CHANGES" },
      { "type": "feat", "section": "New Features" },
      { "type": "new", "section": "New Features" },
      { "type": "update", "section": "Dependencies" },
      { "type": "upgrade", "section": "Dependencies" },
      { "type": "deps", "section": "Dependencies" },
      { "type": "fix", "section": "Bug Fixes" },
      { "type": "build", "section": "Build" },
      { "type": "ci", "section": "CI/CD" },
      { "type": "docs", "section": "Documentation" },
      { "type": "refactor", "section": "Refactor" },
      { "type": "chore", "section": "Chores" }
    ]
  },
  "plugins": [
    [
      "@semantic-release/commit-analyzer",
      {
        "releaseRules": [
          { "breaking": true, "release": "major" },
          { "revert": true, "release": "patch" },
          { "type": "breaking", "release": "major" },
          { "type": "feat", "release": "minor" },
          { "type": "update", "release": "minor" },
          { "type": "upgrade", "release": "minor" },
          { "type": "deps", "release": "minor" },
          { "type": "new", "release": "minor" },
          { "type": "fix", "release": "patch" },
          { "type": "build", "release": "patch" },
          { "type": "ci", "release": "patch" },
          { "type": "chore", "release": "patch" },
          { "type": "docs", "release": "patch" },
          { "type": "refactor", "release": "patch" }
        ]
      }
    ],
    "@semantic-release/release-notes-generator",
    "@semantic-release/changelog",
    [
      "@semantic-release/npm",
      {
        "npmPublish": false
      }
    ],
    "@semantic-release/github",
    [
      "@semantic-release/git",
      {
        "assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
        "message": "chore: Release ${nextRelease.version}\n\n${nextRelease.notes}"
      }
    ]
  ]
}
