{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:recommended", "schedule:weekly", "group:allNonMajor"],
  "labels": ["dependencies"],
  "rangeStrategy": "bump",
  // Align with pnpm's `minimumReleaseAge` default (1440 minutes) so Renovate does
  // not propose versions that pnpm's supply-chain check would reject as too new.
  "minimumReleaseAge": "1 day",
  "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",
    // Transitive dependency that we patch
    "acorn",
    // Keep using codemirror 5
    "codemirror",
    "react-18",
    "react-is-18",
    // webdriverio removed provenance: https://github.com/webdriverio/webdriverio/issues/14887
    "webdriverio"
  ],
  "ignorePaths": [
    "**/node_modules/**"
  ]
}
