[PR #42] [CLOSED] fix(init): install App Router RSC deps by default #262

Closed
opened 2026-05-06 12:38:50 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/42
Author: @liuxiaopai-ai
Created: 2/25/2026
Status: Closed

Base: mainHead: fix/issue-22-28-rsc-deps


📝 Commits (1)

  • 667909a fix(init): install missing app-router RSC deps and preflight missing runtime

📊 Changes

11 files changed (+314 additions, -35 deletions)

View changed files

📝 README.md (+1 -1)
📝 packages/vinext/src/check.ts (+4 -3)
📝 packages/vinext/src/deploy.ts (+77 -15)
📝 packages/vinext/src/index.ts (+13 -0)
📝 packages/vinext/src/init.ts (+51 -14)
📝 tests/app-router.test.ts (+40 -0)
📝 tests/deploy.test.ts (+42 -1)
tests/fixtures/create-next-app-app-router/app/layout.tsx (+9 -0)
tests/fixtures/create-next-app-app-router/app/page.tsx (+3 -0)
tests/fixtures/create-next-app-app-router/package.json.template (+16 -0)
📝 tests/init.test.ts (+58 -1)

📄 Description

Addresses #22 and part of #28 (missing RSC deps / react-server-dom-webpack).\n\n- Ensure vinext init/deploy installs required RSC runtime deps for App Router projects\n- Add create-next-app style fixture + regression tests for init/deploy\n\nCI should validate across platforms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/42 **Author:** [@liuxiaopai-ai](https://github.com/liuxiaopai-ai) **Created:** 2/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/issue-22-28-rsc-deps` --- ### 📝 Commits (1) - [`667909a`](https://github.com/cloudflare/vinext/commit/667909ac2bab989ea3646780dc1eb6655582e8b2) fix(init): install missing app-router RSC deps and preflight missing runtime ### 📊 Changes **11 files changed** (+314 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `packages/vinext/src/check.ts` (+4 -3) 📝 `packages/vinext/src/deploy.ts` (+77 -15) 📝 `packages/vinext/src/index.ts` (+13 -0) 📝 `packages/vinext/src/init.ts` (+51 -14) 📝 `tests/app-router.test.ts` (+40 -0) 📝 `tests/deploy.test.ts` (+42 -1) ➕ `tests/fixtures/create-next-app-app-router/app/layout.tsx` (+9 -0) ➕ `tests/fixtures/create-next-app-app-router/app/page.tsx` (+3 -0) ➕ `tests/fixtures/create-next-app-app-router/package.json.template` (+16 -0) 📝 `tests/init.test.ts` (+58 -1) </details> ### 📄 Description Addresses #22 and part of #28 (missing RSC deps / react-server-dom-webpack).\n\n- Ensure vinext init/deploy installs required RSC runtime deps for App Router projects\n- Add create-next-app style fixture + regression tests for init/deploy\n\nCI should validate across platforms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:38:50 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#262
No description provided.