{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:base", "docker:pinDigests"],
  "minimumReleaseAge": "5 days",
  "packageRules": [
    {
      "matchFileNames": ["cli/**"],
      "groupName": "@immich/cli",
      "matchUpdateTypes": ["minor", "patch"],
      "schedule": "on tuesday"
    },
    {
      "matchFileNames": ["docs/**"],
      "groupName": "docs",
      "matchUpdateTypes": ["minor", "patch"],
      "schedule": "on tuesday"
    },
    {
      "matchFileNames": ["mobile/**"],
      "groupName": "mobile",
      "matchUpdateTypes": ["minor", "patch"],
      "schedule": "on tuesday"
    },
    {
      "matchFileNames": ["server/**"],
      "groupName": "server",
      "matchUpdateTypes": ["minor", "patch"],
      "excludePackagePrefixes": ["exiftool"],
      "schedule": "on tuesday"
    },
    {
      "groupName": "exiftool",
      "matchPackagePrefixes": ["exiftool"],
      "schedule": "on tuesday"
    },
    {
      "groupName": "svelte",
      "matchUpdateTypes": ["major"],
      "matchPackagePrefixes": ["@sveltejs"],
      "schedule": "on tuesday"
    },
    {
      "matchFileNames": ["web/**"],
      "groupName": "web",
      "matchUpdateTypes": ["minor", "patch"],
      "schedule": "on tuesday"
    },
    {
      "matchFileNames": ["machine-learning/**"],
      "groupName": "machine-learning",
      "rangeStrategy": "in-range-only",
      "schedule": "on tuesday"
    },
    {
      "matchFileNames": [".github/**"],
      "groupName": "github-actions",
      "schedule": "on tuesday"
    },
    {
      "groupName": "base-image",
      "matchPackagePrefixes": ["ghcr.io/immich-app/base-server"],
      "minimumReleaseAge": "0"
    },
    {
      "matchDatasources": ["docker"],
      "matchPackageNames": ["node"],
      "versionCompatibility": "^(?<version>[^-]+)(?<compatibility>-.*)?$",
      "versioning": "node"
    },
    {
      "matchPackageNames": ["com.google.guava:guava"],
      "versionCompatibility": "^(?<version>[^-]+)-(?<compatibility>.*)?$"
    }
  ],
  "ignorePaths": ["mobile/openapi/pubspec.yaml"],
  "ignoreDeps": [
    "http",
    "latlong2",
    "vector_map_tiles",
    "flutter_map",
    "flutter_map_heatmap"
  ],
  "labels": ["dependencies", "renovate"]
}