mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #616] [MERGED] Refactor App Router virtual entries into typed runtime modules #715
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#715
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/616
Author: @southpolesteve
Created: 3/21/2026
Status: ✅ Merged
Merged: 3/21/2026
Merged by: @southpolesteve
Base:
main← Head:codex/typed-runtime-entries📝 Commits (3)
179975crefactor: move app router SSR/browser runtime into typed modulesf32dae9style: format typed app runtime modules110fe6arefactor: address runtime entry review follow-ups📊 Changes
15 files changed (+1041 additions, -1815 deletions)
View changed files
📝
.gitignore(+2 -0)📝
packages/vinext/src/entries/app-browser-entry.ts(+4 -330)📝
packages/vinext/src/entries/app-ssr-entry.ts(+6 -460)➕
packages/vinext/src/entries/runtime-entry-module.ts(+21 -0)➕
packages/vinext/src/server/app-browser-entry.ts(+289 -0)➕
packages/vinext/src/server/app-browser-stream.ts(+97 -0)➕
packages/vinext/src/server/app-ssr-entry.ts(+246 -0)➕
packages/vinext/src/server/app-ssr-stream.ts(+157 -0)➕
packages/vinext/src/vite-plugin-commonjs.d.ts(+9 -0)➕
packages/vinext/src/vite-rsc-client-references.d.ts(+4 -0)📝
tests/__snapshots__/entry-templates.test.ts.snap(+3 -788)➕
tests/app-browser-stream.test.ts(+130 -0)📝
tests/app-router.test.ts(+1 -84)➕
tests/app-ssr-stream.test.ts(+66 -0)📝
tests/rsc-streaming.test.ts(+6 -153)📄 Description
Written by Codex.
Summary
.claude/so the parallel Claude workspace stays out of git noiseVerification
pnpm run typecheckpnpm exec oxlint --deny-warnings packages/vinext/src/server/app-browser-entry.ts packages/vinext/src/server/app-browser-stream.ts packages/vinext/src/server/app-dev-server.ts packages/vinext/src/server/app-ssr-entry.ts packages/vinext/src/server/app-ssr-stream.ts packages/vinext/src/vite-plugin-commonjs.d.ts tests/app-browser-stream.test.ts tests/app-router.test.ts tests/app-ssr-stream.test.ts tests/rsc-streaming.test.tspnpm test -- tests/app-ssr-stream.test.ts tests/app-browser-stream.test.ts tests/rsc-streaming.test.tspnpm test -- tests/app-router.test.ts -t "produces RSC/SSR/client bundles via vite build"Notes
tests/app-router.test.tswas limited by sandboxlisten EPERMsocket restrictions when some suites tried to open ports; the targeted build-path coverage above passed and CI can exercise the rest in a normal environment🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.