bcgov / bcgov/wps

Dev: Upgrade Vite to v8

Open
#5,278 0 comments 0 reactions 0 assignees View on GitHub
Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
1d 2h
Merged PRs (30d)
70

Description

Renovate has opened a PR bumping vite from ^7 to ^8 in both mobile/asa-go and web/apps/wps-web. Vite
8 switches to rolldown (Rust-based bundler) which may affect build output and dev server behaviour.

Steps:

1. Check out the Renovate branch locally
2. In mobile/asa-go:
- yarn install
- yarn build — verify no build errors
- yarn test — verify all tests pass
- Smoke test the dev server: yarn dev
3. In web/apps/wps-web:
- yarn install
- yarn build — verify no build errors
- yarn test (if applicable) — verify tests pass
- Smoke test the dev server
4. Check the web config's optimizeDeps.include entries still resolve correctly under rolldown —
@mui/material/Tooltip, @emotion/styled/base, @mui/material/Unstable_Grid2
5. If any TypeScript errors appear that weren't on main, fix them in a commit on top of the Renovate
branch (see memory note — bumps can surface TS errors not visible on main)
6. Merge

Known safe: neither project uses vite-tsconfig-paths, so no deprecation warnings expected from Vite
8's built-in tsconfig path handling.

Contributor guide

Open the contributing guide

Research direction

Check out the Renovate branch and begin in mobile/asa-go and web/apps/wps-web. Run yarn install, build, tests, and the dev servers in both projects, then verify the listed optimizeDeps.include entries resolve under Vite 8. Done means both builds and applicable tests pass, smoke tests work, and any newly surfaced TypeScript errors are fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.