{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "github>tailor-inc/renovate-config",
    ":pinAllExceptPeerDependencies"
  ],
  "schedule": ["* 0-9 * * 1-5"],
  "toolSettings": {
    "nodeMaxMemory": 2560
  },
  "packageRules": [
    {
      "description": "Skip release age delay for first-party packages",
      "matchPackageNames": ["@tailor-platform/*"],
      "minimumReleaseAge": "0 days"
    },
    {
      "description": "react and react-dom share an exact version; @types/* track their major.minor",
      "groupName": "react",
      "matchPackageNames": [
        "react",
        "react-dom",
        "@types/react",
        "@types/react-dom"
      ]
    },
    {
      "description": "@hookform/resolvers is built against react-hook-form's API (peer dependency)",
      "groupName": "react-hook-form",
      "matchPackageNames": ["react-hook-form", "@hookform/resolvers"]
    },
    {
      "description": "tailwindcss and @tailwindcss/vite share an exact version (same monorepo)",
      "groupName": "tailwindcss",
      "matchPackageNames": ["tailwindcss", "@tailwindcss/vite"]
    },
    {
      "description": "oxlint and oxlint-plugin-eslint share an exact version (oxc-project lockstep)",
      "groupName": "oxlint",
      "matchPackageNames": ["oxlint", "oxlint-plugin-eslint"]
    }
  ]
}
