Skip to content

chore: Upgrade examples to vite@7#10133

Merged
ibgreen merged 2 commits intomasterfrom
ib/vite7
Mar 24, 2026
Merged

chore: Upgrade examples to vite@7#10133
ibgreen merged 2 commits intomasterfrom
ib/vite7

Conversation

@ibgreen
Copy link
Copy Markdown
Collaborator

@ibgreen ibgreen commented Mar 24, 2026

Summary

This PR upgrades Vite across the repo’s example and test apps to Vite 7 and keeps the change focused on Vite-related compatibility work.

The recent move to Node 22 exposed brittleness in our older Vite setup. Newer Vite majors explicitly support modern Node runtimes, and a repo-wide Vite upgrade was overdue.

What Changed

  • Updated tracked example and test app package.json files from Vite 4 to Vite 7.
  • Adjusted the shared local Vite config for Vite 7’s stricter module resolution behavior.
  • Narrowed the shared @luma.gl and @math.gl aliases so bare package imports still resolve to repo-root dependencies without breaking package export subpaths.

Scope

  • This PR is intentionally limited to Vite upgrade work.
  • It does not add a Vite resolution.
  • It does not intentionally pull in a new luma.gl line or unrelated deck/luma dependency upgrades.
  • Any ad hoc changes that relied on newer local luma.gl installs are out of scope for this PR.

Why Now

  • Node 22 made the existing Vite setup more brittle and surfaced issues that were easy to miss before.
  • The repo has a large surface area of example/test apps still pinned to older Vite versions.
  • Keeping Vite current reduces friction for local development and lowers the chance of more Node-version-specific breakage.

Notes

  • The root lockfile may still contain older transitive Vite entries through upstream tooling dependencies, but the tracked example/test apps are updated at the package level.
  • Follow-up work may still be needed to modernize transitive tooling such as @vis.gl/dev-tools, but that is separate from the package-level Vite upgrade in this PR.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 91.066%. remained the same
when pulling 9da5deb on ib/vite7
into a469fb7 on master.

@ibgreen ibgreen marked this pull request as ready for review March 24, 2026 15:18
@ibgreen ibgreen requested a review from Pessimistress March 24, 2026 15:18
@chrisgervang chrisgervang changed the title chore: Upgrade to vite@7 chore: Upgrade examples to vite@7 Mar 24, 2026
@ibgreen ibgreen merged commit c40f984 into master Mar 24, 2026
5 checks passed
@ibgreen ibgreen deleted the ib/vite7 branch March 24, 2026 16:10
@chrisgervang chrisgervang added this to the v9.3 milestone Apr 1, 2026
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.

4 participants