Files
Shadowbroker/.github/dependabot.yml
BigBodyCobainandClaude Opus 5.5 d8c3f9ef7e Frontend: vitest and @vitest/coverage-v8 5.1.0 together
The two packages pin each other's exact version as a peer, so Dependabot's
separate PRs (#719 vitest, #721 coverage-v8) each failed npm ci. This bumps
both at once. Full suite on vitest 5.1.0: 128 files, 1125 tests passed.

dependabot.yml gets a "vitest" npm group (vitest, @vitest/*) so future
bumps of these arrive as one PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 03:28:48 -07:00

80 lines
2.8 KiB
YAML

version: 2
updates:
- package-ecosystem: "npm"
directory: "/frontend"
schedule:
interval: "weekly"
# @types/node tracks the Node runtime we ship (24.x in both images and CI);
# newer majors describe APIs that don't exist at runtime.
ignore:
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]
groups:
react-runtime:
applies-to: version-updates
patterns:
- "react"
- "react-dom"
- "@types/react"
- "@types/react-dom"
react-runtime-security:
applies-to: security-updates
patterns:
- "react"
- "react-dom"
- "@types/react"
- "@types/react-dom"
# vitest and its plugins (coverage-v8 etc.) pin each other's exact
# version as a peer, so a bump of one alone fails npm ci. Keep them in
# one PR, majors included.
vitest:
applies-to: version-updates
patterns:
- "vitest"
- "@vitest/*"
# Everything else that's a minor or patch bump lands as one weekly PR.
# Majors still get their own PR so each can be reviewed on its own, and
# security updates stay individual so they aren't held up by the batch.
# (A package matches the first group listed, so React stays in its own.)
npm-minor-and-patch:
applies-to: version-updates
update-types: ["minor", "patch"]
# uv (not pip) so Python bumps update uv.lock as well as pyproject.toml.
# Docker and CI install from the lock with --frozen; a pyproject-only bump
# passes CI without ever installing the new version.
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
groups:
# One weekly PR for minor/patch bumps, same rules as npm above.
python-minor-and-patch:
applies-to: version-updates
update-types: ["minor", "patch"]
- package-ecosystem: "docker"
directories:
- "/frontend"
- "/backend"
schedule:
interval: "weekly"
# Runtime version jumps are planned on purpose, not taken from a weekly
# bump: Node is pinned to the same LTS line in both images and CI, and a
# new Python minor needs wheels for every dependency (e.g. pyproj) first.
# Patch updates still come through.
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]
- dependency-name: "python"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Workflow actions are pinned to commit SHAs (a moved or hijacked tag can't
# change what CI runs). Dependabot keeps those pins current, one weekly PR.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
actions:
applies-to: version-updates
patterns:
- "*"