Skip to content

Upgrade remaining example apps to vite 8 + nitro 3 #974

Description

@AlemTuzlak

Follow-up from #949 (toolchain migration to oxc + TypeScript 7 + vite 8).

In #949 the library packages moved to vite 8, and the React/Solid TanStack Start example apps were migrated to vite 8 + nitro 3 and build cleanly. The remaining example apps are still pinned to vite 7 because Start + nitro + their framework plugins didn't build under vite 8 / Rolldown at the time (see commit 2dfd377ca, "pin example apps to vite 7").

Still on vite 7

  • examples/ag-ui
  • examples/sandbox-cloudflare
  • examples/ts-angular-chat
  • examples/ts-group-chat
  • examples/ts-svelte-chat
  • examples/ts-vue-chat
  • examples/vanilla-chat

Already on vite 8 + nitro 3 (reference)

sandbox-web, ts-code-mode-web, ts-react-chat, ts-react-media, ts-react-search, ts-solid-chat

Task

For each remaining app, bump vite to ^8.x (and nitro to 3.0.260610-beta where it uses nitro), then verify it builds and dev-serves. Framework plugin compatibility must be checked per app:

  • Svelte / Vue / Angular vite-8 plugin support needs verifying — some may not support vite 8 yet and should stay pinned to vite 7 with a comment until upstream ships.
  • vanilla-chat and sandbox-cloudflare are simpler and likely straightforward.

Leave any app on vite 7 that genuinely can't build under vite 8 yet, with a // pinned: <framework> plugin lacks vite 8 support note, so the pin is intentional rather than stale.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions