test: split React Start basic e2e projects by mode#7047
test: split React Start basic e2e projects by mode#7047beaussan wants to merge 4 commits intoTanStack:mainfrom
Conversation
Split the basic React Start e2e suite into dedicated SSR, SPA, prerender, and preview projects so CI can run each mode independently. Keep the shared specs symlinked while deriving package-specific ports from the active project root.
|
View your CI Pipeline Execution ↗ for commit 893dc18
☁️ Nx Cloud last updated this comment at |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Keep the split projects' default build targets on the normal SSR build path so Nx build does not prerender error routes during affected runs. Give each split project its own generated route tree file and wait for the dummy server before prerender builds so the shared tests and external data fetches remain stable.
Summary
e2e/react-start/basicinto dedicated SSR, SPA, prerender, and preview Nx/pnpm projectssrc,public, andtestsdirectories into the new mode-specific projects while keeping per-project configs localprocess.cwd()so each project gets isolated ports and dummy-server stateNotes