{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:recommended", "schedule:weekly", "group:allNonMajor"],
  "labels": ["dependencies"],
  "rangeStrategy": "bump",
  "packageRules": [
    {
      "groupName": "Eslint packages",
      "matchPackageNames": ["/eslint/"]
    },
    {
      "matchDepTypes": ["peerDependencies"],
      "enabled": false
    },
    {
      "matchDepTypes": ["action"],
      "matchPackageNames": ["!actions/{/,}**", "!github/{/,}**"],
      "pinDigests": true
    }
  ],
  "ignoreDeps": [
    // manually bumping
    "node",
    "vite",
    // we patch these packages
    "@types/chai",
    "@sinonjs/fake-timers",
    "cac",
    // Pinned because it requires "node" condition in the new version
    // But we intentionally build Vitest ambiguously
    "find-up",
    // Transitive dependency that we patch
    "acorn",
    // Keep using codemirror 5
    "codemirror",
    "react-18",
    "react-is-18"
  ],
  "ignorePaths": [
    "**/node_modules/**"
  ]
}
