{
  "branches": ["main"],
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    [
      "@semantic-release/changelog",
      {
        "changelogFile": "CHANGELOG.md"
      }
    ],
    [
      "@semantic-release/npm",
      {
        "npmPublish": false
      }
    ],
    [
      "@semantic-release/exec",
      {
        "prepareCmd": "./scripts/sync-version.sh ${nextRelease.version}",
        "publishCmd": "echo '${nextRelease.version}' > .release-version"
      }
    ],
    [
      "@semantic-release/git",
      {
        "assets": [
          "package.json",
          "pnpm-lock.yaml",
          "CHANGELOG.md",
          "apps/web/package.json",
          "apps/api/package.json",
          "apps/docs/package.json",
          "packages/shared/package.json",
          "packages/shared/src/constants.ts",
          "packages/image-engine/package.json",
          "packages/ai/package.json"
        ],
        "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
      }
    ],
    "@semantic-release/github"
  ]
}
