Add backend framework selection between hono, elysiajs

This commit is contained in:
Aman Varshney
2025-03-26 11:41:41 +05:30
parent b6b113766e
commit 91fe9f861f
40 changed files with 451 additions and 345 deletions

View File

@@ -1,5 +1,6 @@
import { cancel, isCancel, select } from "@clack/prompts";
import pc from "picocolors";
import { DEFAULT_CONFIG } from "../constants";
import type { ProjectOrm } from "../types";
export async function getORMChoice(
@@ -23,7 +24,7 @@ export async function getORMChoice(
hint: "Powerful, feature-rich ORM with schema migrations",
},
],
initialValue: "drizzle",
initialValue: DEFAULT_CONFIG.orm,
});
if (isCancel(response)) {