Skip to content

chore: bump Node.js minimum to 20.19+ for vite 8 dev testing #76

Description

@adriencaccia

Context

Vite 8 depends on rolldown, which requires Node.js ^20.19.0 || >=22.12.0 (uses node:util.styleText added in 20.12.0). The current .nvmrc pins Node.js to 20.5.1, which prevents using vite 8 as a dev dependency alongside vitest 4.1+.

Currently:

What needs to happen

  1. Bump .nvmrc to 20.19.0 (or higher)
  2. Update CI matrix Node versions accordingly
  3. Restore vite dev dependency to ^8.0.0
  4. Re-add rolldown dev dep and tsconfig.json paths for vite 8 type resolution

Existing PRs that would unblock this

Either of these PRs landing would satisfy the Node.js requirement for vite 8 + rolldown. After one merges, the vite dev dep can be restored to ^8.0.0.

Related

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