Simplify frontend/native prompt messages

This commit is contained in:
Aman Varshney
2025-06-03 01:15:40 +05:30
parent b3e37d916f
commit f19c6d7a50
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
Simplify frontend/native prompt messages

View File

@@ -81,7 +81,7 @@ export async function getFrontendChoice(
}); });
const webFramework = await select<Frontend>({ const webFramework = await select<Frontend>({
message: "Choose frontend", message: "Choose web",
options: webOptions, options: webOptions,
initialValue: DEFAULT_CONFIG.frontend[0], initialValue: DEFAULT_CONFIG.frontend[0],
}); });
@@ -96,7 +96,7 @@ export async function getFrontendChoice(
if (frontendTypes.includes("native")) { if (frontendTypes.includes("native")) {
const nativeFramework = await select<Frontend>({ const nativeFramework = await select<Frontend>({
message: "Choose native framework", message: "Choose native",
options: [ options: [
{ {
value: "native-nativewind" as const, value: "native-nativewind" as const,