Skip to content

chore(deps-dev): move vitest and @vitest/coverage-v8 to 5 together - #104

Merged
TheCryptoDonkey merged 1 commit into
mainfrom
chore/vitest-5-pair
Sep 8, 2026
Merged

chore(deps-dev): move vitest and @vitest/coverage-v8 to 5 together#104
TheCryptoDonkey merged 1 commit into
mainfrom
chore/vitest-5-pair

Conversation

@TheCryptoDonkey

Copy link
Copy Markdown
Member

Supersedes #103.

Why by hand

The group config here is already correct — patterns: ["vitest", "@vitest/*"] across all update types, with a comment explaining exactly this trap. But the grouped PR still could not install:

npm error While resolving: @vitest/coverage-v8@4.1.11
npm error Found: vitest@5.0.0
npm error peer vitest@"4.1.11" from @vitest/coverage-v8@4.1.11

Dependabot bumped vitest to ^5.0.0 in package.json and moved @vitest/coverage-v8 to 5.0.0 in the lockfile, but left coverage-v8's declared range at ^4.1.1. npm ci therefore resolves coverage-v8 to 4.1.11, which peer-pins the exact vitest it no longer has.

I asked dependabot to recreate the PR and it reproduced the identical split, so this does the manifest bump directly rather than retrying a third time.

Change

Both ranges to ^5.0.0 in package.json, lockfile regenerated.

Verification

npm ci clean, 1669 tests pass across 105 files on vitest 5.

The grouped dependabot PR (#103) could not install. It bumped vitest's range
in package.json to ^5.0.0 and moved @vitest/coverage-v8 to 5.0.0 in the
lockfile, but left coverage-v8's declared range at ^4.1.1, so npm ci resolved
it to 4.1.11 and died on ERESOLVE against the exact peer it pins:

  While resolving: @vitest/coverage-v8@4.1.11
  Found: vitest@5.0.0
  peer vitest@"4.1.11" from @vitest/coverage-v8@4.1.11

The group config is already correct -- patterns ["vitest", "@vitest/*"] across
all update types -- and recreating the PR reproduced the same split, so this
does the manifest bump by hand rather than retrying it a third time.

1669 tests pass across 105 files on vitest 5.
@TheCryptoDonkey
TheCryptoDonkey merged commit 1d08f30 into main Sep 8, 2026
3 checks passed
@TheCryptoDonkey
TheCryptoDonkey deleted the chore/vitest-5-pair branch September 8, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant