fix flags validation and new stack architech design

This commit is contained in:
Aman Varshney
2025-04-19 21:02:55 +05:30
parent da087151c3
commit 1cb5c0caab
8 changed files with 1086 additions and 1158 deletions

View File

@@ -43,8 +43,7 @@ function generateReadmeContent(options: ProjectConfig): string {
const packageManagerRunCmd =
packageManager === "npm" ? "npm run" : packageManager;
// Determine the web port based on the frontend framework
let webPort = "3001"; // Default for TanStack Router and TanStack Start
let webPort = "3001";
if (hasReactRouter) {
webPort = "5173";
} else if (hasNext) {