Skip to content

Commit ea77130

Browse files
chore: upgrade Vite 8.0.16, Rolldown 1.1.0, Vitest 5.0.0-beta.4 (#438)
Automated daily upgrade of Vite, Rolldown, and/or Vitest to the latest available versions. **Vite:** `8.0.14` → `8.0.16` **Rolldown:** `1.0.2` → `1.1.0` **Vitest:** `5.0.0-beta.2` → `5.0.0-beta.4` ### Updated locations - `packages/react-server/package.json` — `vite`, `rolldown` - `test/package.json` — `vite`, `rolldown`, `vitest`, `@vitest/ui` - `packages/rsc/package.json` — `vitest`, `@vitest/*` - `packages/create-react-server/test/package.json` — `vitest` - `package.json` — all `pnpm.overrides` for Vite - `pnpm-lock.yaml` ### Smoke test - Dev mode — `hello world` test passed ✅ - Build+start mode — `hello world` test passed ✅ --------- Co-authored-by: lazarv <1749493+lazarv@users.noreply.github.com> Co-authored-by: Viktor Lázár <lazarv1982@gmail.com>
1 parent fdcd776 commit ea77130

33 files changed

Lines changed: 620 additions & 24625 deletions

.github/workflows/actions/common-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
node_version:
55
description: Node.js version to install
66
required: false
7-
default: "24"
7+
default: "26"
88

99
runs:
1010
using: composite

.github/workflows/ci.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656
strategy:
5757
matrix:
5858
os: [ubuntu-latest]
59-
node_version: [20, 22, 24]
59+
node_version: [22, 24, 26]
6060
include:
6161
- os: macos-latest
62-
node_version: 24
62+
node_version: 26
6363
- os: windows-latest
64-
node_version: 24
64+
node_version: 26
6565
fail-fast: false
6666

6767
name: "Test dev base 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -106,12 +106,12 @@ jobs:
106106
strategy:
107107
matrix:
108108
os: [ubuntu-latest]
109-
node_version: [20, 22, 24]
109+
node_version: [22, 24, 26]
110110
include:
111111
- os: macos-latest
112-
node_version: 24
112+
node_version: 26
113113
- os: windows-latest
114-
node_version: 24
114+
node_version: 26
115115
fail-fast: false
116116

117117
name: "Test prod base 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -156,12 +156,12 @@ jobs:
156156
strategy:
157157
matrix:
158158
os: [ubuntu-latest]
159-
node_version: [20, 22, 24]
159+
node_version: [22, 24, 26]
160160
include:
161161
- os: macos-latest
162-
node_version: 24
162+
node_version: 26
163163
- os: windows-latest
164-
node_version: 24
164+
node_version: 26
165165
fail-fast: false
166166

167167
name: "Test prod base (edge+node) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -208,12 +208,12 @@ jobs:
208208
strategy:
209209
matrix:
210210
os: [ubuntu-latest]
211-
node_version: [20, 22, 24]
211+
node_version: [22, 24, 26]
212212
include:
213213
- os: macos-latest
214-
node_version: 24
214+
node_version: 26
215215
- os: windows-latest
216-
node_version: 24
216+
node_version: 26
217217
fail-fast: false
218218

219219
name: "Test prod base (edge entry) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -260,12 +260,12 @@ jobs:
260260
strategy:
261261
matrix:
262262
os: [ubuntu-latest]
263-
node_version: [20, 22, 24]
263+
node_version: [22, 24, 26]
264264
include:
265265
- os: macos-latest
266-
node_version: 24
266+
node_version: 26
267267
- os: windows-latest
268-
node_version: 24
268+
node_version: 26
269269
fail-fast: false
270270

271271
name: "Test dev apps 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -310,12 +310,12 @@ jobs:
310310
strategy:
311311
matrix:
312312
os: [ubuntu-latest]
313-
node_version: [20, 22, 24]
313+
node_version: [22, 24, 26]
314314
include:
315315
- os: macos-latest
316-
node_version: 24
316+
node_version: 26
317317
- os: windows-latest
318-
node_version: 24
318+
node_version: 26
319319
fail-fast: false
320320

321321
name: "Test prod apps 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -360,12 +360,12 @@ jobs:
360360
strategy:
361361
matrix:
362362
os: [ubuntu-latest]
363-
node_version: [20, 22, 24]
363+
node_version: [22, 24, 26]
364364
include:
365365
- os: macos-latest
366-
node_version: 24
366+
node_version: 26
367367
- os: windows-latest
368-
node_version: 24
368+
node_version: 26
369369
fail-fast: false
370370

371371
name: "Test prod apps (edge+node) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -412,12 +412,12 @@ jobs:
412412
strategy:
413413
matrix:
414414
os: [ubuntu-latest]
415-
node_version: [20, 22, 24]
415+
node_version: [22, 24, 26]
416416
include:
417417
- os: macos-latest
418-
node_version: 24
418+
node_version: 26
419419
- os: windows-latest
420-
node_version: 24
420+
node_version: 26
421421
fail-fast: false
422422

423423
name: "Test prod apps (edge entry) 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -464,12 +464,12 @@ jobs:
464464
strategy:
465465
matrix:
466466
os: [ubuntu-latest]
467-
node_version: [20, 22, 24]
467+
node_version: [22, 24, 26]
468468
include:
469469
- os: macos-latest
470-
node_version: 24
470+
node_version: 26
471471
- os: windows-latest
472-
node_version: 24
472+
node_version: 26
473473
fail-fast: false
474474

475475
name: "Test rsc 🧪 node.js v${{ matrix.node_version }} on ${{ matrix.os }}"
@@ -593,7 +593,7 @@ jobs:
593593

594594
- uses: ./.github/workflows/actions/common-setup
595595
with:
596-
node_version: 24
596+
node_version: 26
597597

598598
- name: Lint
599599
run: pnpm run lint

.github/workflows/create-react-server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- uses: ./.github/workflows/actions/common-setup
6363
with:
64-
node_version: 20
64+
node_version: 26
6565

6666
- name: Test create-react-server (${{ matrix.runtime }}/${{ matrix.pkg_mgr }}/${{ matrix.template }})
6767
working-directory: ./packages/create-react-server/test

examples/pokemon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"autoprefixer": "^10.5.0",
2424
"postcss": "^8.5.15",
2525
"tailwindcss": "^4.3.0",
26-
"vite": "8.0.14"
26+
"vite": "8.0.16"
2727
}
2828
}

examples/shadcn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
"tailwindcss": "^4.1.56",
5353
"tw-animate-css": "^1.4.0",
5454
"typescript": "^5.9.3",
55-
"vite": "^8.0.12"
55+
"vite": "^8.0.16"
5656
}
5757
}

packages/create-react-server/test/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Integration tests that verify `create-react-server` works correctly across all r
1111
## Test Matrix
1212

1313
### Runtimes
14-
- **Node.js** (`node`) — runs on `node:20`
15-
- **Bun** (`bun`) — runs on a pinned `oven/bun` image with Node.js 20 copied from the official Node image (Node.js is used for `npm install` and tooling; Bun is used at runtime)
16-
- **Deno** (`deno`) — runs on `node:20` with Deno installed
14+
- **Node.js** (`node`) — runs on `node:26`
15+
- **Bun** (`bun`) — runs on a pinned `oven/bun` image with Node.js 26 copied from the official Node image (Node.js is used for `npm install` and tooling; Bun is used at runtime)
16+
- **Deno** (`deno`) — runs on `node:26` with Deno installed
1717

1818
### Presets
1919
- `blank` — minimal JavaScript project
@@ -47,7 +47,7 @@ Each runtime generates different `package.json` scripts via the `runtime.mjs` ge
4747
The `router` preset's build fails during static export. Dev mode works fine. Build/start tests are skipped for this preset.
4848

4949
### `module-alias` pinned to `~2.2.3`
50-
The `module-alias` package is used by `@lazarv/react-server` to alias CJS `require()` calls (e.g. redirecting `react`, `react-dom`, `picocolors`, etc. to the correct resolved paths). Version 2.3.x introduced `node:module` `registerHooks` which requires Node.js 22+ and is not supported by Deno at all. The dependency is pinned to `~2.2.3` in `packages/react-server/package.json` to maintain compatibility with Node.js 20 and Deno.
50+
The `module-alias` package is used by `@lazarv/react-server` to alias CJS `require()` calls (e.g. redirecting `react`, `react-dom`, `picocolors`, etc. to the correct resolved paths). Version 2.3.x introduced `node:module` `registerHooks`, which is not supported by Deno at all. The dependency is pinned to `~2.2.3` in `packages/react-server/package.json` to maintain Deno compatibility.
5151

5252
## Running Tests
5353

@@ -107,9 +107,9 @@ test/
107107
│ ├── utils.mjs # Test helpers (pack, build image, run container)
108108
│ └── __snapshots__/ # Vitest snapshots of generated files
109109
├── docker/
110-
│ ├── Dockerfile.bun # pinned oven/bun + Node.js 20
111-
│ ├── Dockerfile.deno # node:20 + Deno
112-
│ ├── Dockerfile.node # node:20
110+
│ ├── Dockerfile.bun # pinned oven/bun + Node.js 26
111+
│ ├── Dockerfile.deno # node:26 + Deno
112+
│ ├── Dockerfile.node # node:26
113113
│ └── entrypoint.sh # Shared test script run inside containers
114114
├── .build/ # Packed tarballs (gitignored)
115115
├── .npm-cache/ # Shared npm cache across runs (gitignored)

0 commit comments

Comments
 (0)