belgattitude/httpx

View on GitHub
renovate.json5

Summary

Maintainability
Test Coverage
/**
 * Renovatebot config and overrides for the monorepo
 *
 * - https://docs.renovatebot.com/configuration-options/
 * - https://docs.renovatebot.com/presets-default/
 */
{
  "extends": ["config:base"],
  "enabled": true,
  "enabledManagers": ["npm", "docker-compose", "dockerfile", "github-actions"],
  "postUpdateOptions": [
    // https://docs.renovatebot.com/configuration-options/#postupdateoptions
    // Will run yarn dedupe --strategy highest
    'yarnDedupeHighest'
  ],
  "packageRules": [
    {
      // Exclusions
      "matchPackageNames": [
        // keep this inline with .ncurc.yml
        // ie: "is-port-reachable",
      ],
      "enabled": false
    },
    {
      "groupName": "vitest monorepo",
      "groupSlug": "vitest",
      "matchPackageNames": [
        "vitest",
      ],
      "matchPackagePrefixes": [
        "@vitest/"
      ]
    },
    {
      "groupName": "tailwind monorepo",
      "groupSlug": "tailwind",
      "matchPackageNames": [
        "tailwind",
      ],
      "matchPackagePrefixes": [
        "@tailwindcss/"
      ]
    },
    {
      // Root package.json
      "matchFiles": ["package.json"],
      "matchDepTypes": [
        "dependencies",
      ],
      "rangeStrategy": "pin"
    },
    {
      // Will pin dependencies found in apps/*...
      "matchPaths": ["apps/**", "examples/**"],
      "matchDepTypes": [
        "dependencies",
      ],
      "rangeStrategy": "pin"
    },
    {
      // Will preserve semver found in packages/*
      "matchPaths": ["packages/**", "integrations/**"],
      "matchDepTypes": [
        "dependencies",
      ],
      "rangeStrategy": "replace"
    },
    {
      // All dev deps
      "matchDepTypes": [
        "devDependencies"
      ],
      "rangeStrategy": "auto"
    }
  ]
}