Skip to content

deps: @vitejs/plugin-react 5 -> 6 (major, dev-only) #456

Closed

Description

@thinkclay

What

Dependabot proposed @vitejs/plugin-react 5.2.0 → 6.0.2 (was #346, closed in the org-migration sweep). Excluded from the #451 batch only because it crosses a major; it is the lowest-risk of the four deferred bumps.

Scope

Dev-only — it does not ship in any app bundle. Consumers:

  • package.json:257 — root devDependency, currently ^5.1.3
  • vitest.config.ts — the actual consumer
  • types/custom-modules.d.ts
  • packages/sdk/examples/react/package.json — ^5.1.1, a separate example app

Note the root range ^5.1.3 would not admit 6.x, so this needs a manifest edit, not just a lockfile refresh. The packages/sdk/examples/react copy is in the sdk submodule — changing it needs its own PR + pointer bump, so consider leaving it on 5.x rather than dragging a submodule change into this.

Where to look

  • package.json:257
  • vitest.config.ts
  • Vite/plugin-react 6 release notes — check the minimum Vite version it requires against what resolves here (the lockfile currently shows [email protected])

Acceptance criteria

  • Bump the root devDependency to ^6.0.2.
  • Confirm the required Vite peer version is satisfied by what already resolves; if not, the Vite bump has to be part of this.
  • nx run-many -t test green — 777 SDK tests plus the other suites are the real signal, since this plugin only affects the test/build toolchain.
  • nx run-many -t build and -t typecheck green.
  • Leave packages/sdk/examples/react alone unless there is a reason to touch the submodule.

Context

Deferred from the #451 dependency batch. CI is still billing-blocked (#375), so verify locally.

Activity

  1. added
    dependencies
    agent-ready
    on Jul 30, 2026
  2. added a commit that references this issue on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXagent-readydependenciespriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions