chore(deps): add dependabot dependency grouping#718
Open
Conversation
Group related dependencies to reduce PR spam. Without grouping, dependabot creates separate PRs for the same dependency across all 15 directories (e.g., 8 identical vite bump PRs). Groups: build-tools, testing, react-ecosystem, linting, workbox Also fixes ignore rule to allow patch updates (was previously blocking both major and patch).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds dependency grouping to
.github/dependabot.ymlto consolidate related updates into fewer PRs. Currently, dependabot creates separate PRs for the same dependency across all 15 directories (e.g. 8 identical vite bump PRs for a single release).Also fixes the ignore rule to allow patch updates. The existing config was blocking both major and patch, leaving only minor updates.
Groups
vite*,@vitejs/*vite-plugin-pwa.vitest*,@vitest/*,@testing-library/*,jsdomreact,react-dom,react-router*reactandreact-dommust always match versions. Router included because major/minor versions often depend on specific React versions.eslint*,prettier*workbox-*What's intentionally ungrouped
Unique dependencies like
dexie,@tanstack/react-table,msw,@trussworks/react-uswds, and@babel/*are left ungrouped — they either appear in few directories (no PR spam) or are unrelated (no safety benefit from co-updating).Note
This overlaps with PR #717 on the ignore rule fix (removing patch from ignore list). Whichever merges first is fine.
Test plan