Skip to content

Keep major npm updates out of the Dependabot group - #35

Merged
dduugg merged 1 commit into
mainfrom
dependabot-ungroup-majors
Sep 30, 2026
Merged

dduugg merged 1 commit into
mainfrom
dependabot-ungroup-majors

Conversation

@dduugg

@dduugg dduugg commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Changes the npm Dependabot config so major updates no longer arrive bundled together, as they did in #28 (five majors in one PR, failing lint and test).

Changes

The github-actions entry and the 7-day cooldown are unchanged.

Testing

  • .github/dependabot.yml validates against the SchemaStore dependabot-2.0 schema.
  • I reproduced the vsce error above locally by setting the @types/vscode range to ^1.138.0.

Expected follow-ups

Dependabot should now open separate PRs for majors that are available but not adopted. That includes typescript 7, which will fail lint because typescript-eslint supports only <6.1.0, and @types/node 26, while the extension host runs Node 24. Commenting @dependabot ignore this major version on those PRs stops them from coming back until the next major.

Group only minor and patch updates, so each major update arrives as its
own PR and can be migrated on its own. The last grouped PR (#28)
bundled five major upgrades and failed lint and test.

Also switch to the increase-if-necessary versioning strategy. By
default Dependabot raised every range in package.json, including
@types/vscode from ^1.32.0 to ^1.138.0. That is a minor update, so it
would still be grouped, and vsce refuses to package when the
@types/vscode range exceeds engines.vscode. CI doesn't run vsce, so the
break would go unnoticed. With increase-if-necessary, updates that fit
the existing range change only the lockfile.
@dduugg
dduugg requested a review from a team as a code owner September 30, 2026 18:26
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Sep 30, 2026
@dduugg
dduugg merged commit 5c106a0 into main Sep 30, 2026
7 checks passed
@dduugg
dduugg deleted the dependabot-ungroup-majors branch September 30, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant