Skip to content

build(deps-dev): bump vitest to 5 and add vite - #311

Open
Suneha Bose (bosesuneha) wants to merge 1 commit into
Azure:mainfrom
bosesuneha:chore/vitest-5
Open

Suneha Bose (bosesuneha) wants to merge 1 commit into
Azure:mainfrom
bosesuneha:chore/vitest-5

Conversation

@bosesuneha

Copy link
Copy Markdown
Member

Bumps vitest from 4.1.11 to 5.0.3 and adds vite as a dev dependency.

vitest 5 makes vite a peer dependency. The integration workflow installs with npm install --legacy-peer-deps, which skips peers, so tsc failed with Cannot find module 'vite/module-runner' on #304. Listing vite directly fixes that.

Verified with a clean npm install --legacy-peer-deps: build, all 119 unit tests, and prettier pass.

Supersedes #304.

vitest 5 makes vite a peer dependency. The integration workflow installs
with --legacy-peer-deps, which skips peers, so list vite directly.
Supersedes Azure#304.
@bosesuneha
Suneha Bose (bosesuneha) requested a review from a team as a code owner October 13, 2026 21:02
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