Skip to content

Add dependabot groups for npm dependencies#23396

Merged
myabc merged 9 commits into
devfrom
housekeeping/dependabot-npm-groups
May 28, 2026
Merged

Add dependabot groups for npm dependencies#23396
myabc merged 9 commits into
devfrom
housekeeping/dependabot-npm-groups

Conversation

@myabc
Copy link
Copy Markdown
Contributor

@myabc myabc commented May 27, 2026

Ticket

N/A

What are you trying to accomplish?

Reduce dependabot PR noise by grouping tightly-coupled npm dependencies so they bump together in a single PR instead of individually.

What approach did you choose and why?

Split the broad @angular* pattern into specific groups (@angular/*, @angular-devkit/*, @angular-builders/*) and added a separate angular-eslint group. Then added groups for other dependency families that share a monorepo or must stay in sync:

  • eslinteslint, eslint-plugin-*, @eslint/*, @stylistic/eslint-plugin, globals
  • hotwired@hotwired/turbo, @hotwired/turbo-rails (stimulus excluded — versioned independently)
  • jqueryjquery, jquery-migrate
  • mantine@mantine/*
  • testing-library@testing-library/*
  • typescript-eslinttypescript-eslint, @typescript-eslint/*
  • uirouter@uirouter/*
  • vitestvitest, @vitest/*

Major-version ignore rules added only for Angular ecosystem packages (consistent with existing Primer ignores).

myabc added 9 commits May 27, 2026 15:45
Splits the broad `@angular*` pattern into specific groups: `@angular/*`,
`@angular-devkit/*`, and `@angular-builders/*` for core Angular, plus a
new `angular-eslint` group for `@angular-eslint/*` and `angular-eslint`.
Adds major-version ignore rules for each new pattern.
Excludes @hotwired/stimulus which is versioned independently from Turbo.
Copilot AI review requested due to automatic review settings May 27, 2026 13:46
@myabc myabc requested review from akabiru and oliverguenther May 27, 2026 13:47
@myabc myabc added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code needs review ci labels May 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Dependabot’s npm configuration to reduce update noise by grouping related frontend dependencies (especially Angular and linting/testing ecosystems) so they are bumped together in fewer PRs.

Changes:

  • Refines the Angular grouping by splitting @angular* into separate @angular/*, @angular-devkit/*, and @angular-builders/* groups, plus a new angular-eslint group.
  • Adds new Dependabot groups for common dependency families (eslint, hotwired, jquery, mantine, testing-library, typescript-eslint, uirouter, vitest).
  • Adjusts Angular ecosystem ignore rules to ignore semver-major updates per package family rather than a single broad @angular* rule.

Copy link
Copy Markdown
Member

@akabiru akabiru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me! 👍🏾

@myabc myabc merged commit 4d01e8b into dev May 28, 2026
20 of 21 checks passed
@myabc myabc deleted the housekeeping/dependabot-npm-groups branch May 28, 2026 09:57
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code needs review

Development

Successfully merging this pull request may close these issues.

3 participants