{
  "$schema": "https://unpkg.com/release-it@17/schema/release-it.json",
  "git": {
    "commitMessage": "chore(release): v${version}",
    "changelog": "npm run changelog -- --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs"
  },
  "github": {
    "release": true
  },
  "npm": {
    "publish": false
  },
  "plugins": {
    "@release-it/bumper": {
      "in": "package.json",
      "out": ["src/backend/package.json", "src/frontend/package.json"]
    },
    "release-it-docker-plugin": {
      "latestTag": true,
      "imageName": "raiper34/spooty",
      "buildx": true,
      "builder": "container",
      "platform": "linux/arm64,linux/amd64",
      "output": "registry"
    }
  },
  "hooks": {
    "before:init": ["npm run clean"],
    "after:bump": ["npm run changelog", "npm run build"],
    "after:release": []
  }
}