Repository navigation
chore(deps): bump vitest and @vitest/coverage-v8 to ^5.0.3 - #146
Conversation
Replaces Dependabot PR #116, whose lockfile marked ~99 optional native packages as "peer": true and made `npm ci` skip them (vitest exit 127). The lockfile was regenerated from main's with npm 11 (the npm bundled with Node 24, which CI uses) via `npm install --package-lock-only`. vitest and @vitest/coverage-v8 resolve to 5.0.4 and are now hoisted to the root; the "peer": true count stays at 1, as on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review: #146 chore(deps): bump vitest and @vitest/coverage-v8 to ^5.0.3Diff reviewed: Blockers: none. Should-fix: none. Nits: none. Checks
Merge order: merge #159 first. This PR conflicts with #159 in Head revisado: 1e883c2 |
Resolve the frontend package.json conflict (keep main's bumps plus vitest ^5.0.3) and regenerate package-lock.json from main's with npm 11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-review: #146 chore(deps): bump vitest and @vitest/coverage-v8 to ^5.0.3Diff reviewed: Blockers: none. Should-fix: none. Nits: none. Checks
Head revisado: 82ac66d |
Summary
Supersedes Dependabot PR #116 (closed unmerged). Bumps
vitestand@vitest/coverage-v8inpackages/frontendfrom^5.0.0to^5.0.3. Both resolve to 5.0.4. This is a dev-only change with no runtime impact, so it needs no changeset.Why #116 failed
Dependabot regenerated
package-lock.jsonwith npm 10. That added"peer": trueto about 99 optional native packages (@emnapi/*,@esbuild/*,@napi-rs/*and others), sonpm ciskipped them andvitest runexited 127. Runningnpm install --package-lock-onlywith npm 10.9.2 reproduces the bug locally (102"peer": trueentries).How the lockfile was regenerated
package-lock.jsonand rannpm install --package-lock-onlywith npm 11.19.1, the npm major that Node 24 bundles and CI uses."peer": truecount is 1 (node_modules/typescript), the same as on main.vitest,@vitest/coverage-v8,@vitest/spyand@vitest/mockermove frompackages/frontend/node_modules/to the rootnode_modules/.chai6.3.0,obug3.0.0,std-env4.3.0,tinybench6.2.2,tinyexec1.3.1,tinyrainbow3.2.0,why-is-node-running3.2.1,@vitest/istanbul-lib-*1.0.2,ast-v8-to-istanbul1.0.7.siginfoandstackback, whichwhy-is-node-running3 no longer uses.Migration notes
Main is already on vitest 5, and I checked the vitest 5.0.3 migration guide via Context7. This bump needs no config changes:
vite.config.tsuses none of the removed entrypoints ortest.workspace.Local test results (Node 26.9.0, npm 11.19.1)
🤖 Generated with Claude Code