fix(create-medusa-app): updates to text and prompts (#12360)

This commit is contained in:
Shahed Nasser
2025-05-06 14:23:54 +03:00
committed by GitHub
parent ffd323a2a9
commit f74586e772
4 changed files with 28 additions and 23 deletions

View File

@@ -17,7 +17,7 @@ export async function askForNextjsStarter(): Promise<boolean> {
{
type: "confirm",
name: "installNextjs",
message: `Would you like to create the Next.js storefront? You can also create it later`,
message: `Would you like to install the Next.js Starter Storefront? You can also install it later.`,
default: false,
},
])
@@ -42,7 +42,7 @@ export async function installNextjsStarter({
}: InstallOptions): Promise<string> {
factBoxOptions.interval = displayFactBox({
...factBoxOptions,
title: "Installing Next.js Storefront...",
title: "Installing Next.js Starter Storefront...",
})
let nextjsDirectory = `${directoryName}-storefront`
@@ -94,7 +94,7 @@ export async function installNextjsStarter({
}
logMessage({
message: `An error occurred while installing Next.js storefront: ${e}`,
message: `An error occurred while installing Next.js Starter Storefront: ${e}`,
type: "error",
})
}
@@ -111,7 +111,7 @@ export async function installNextjsStarter({
displayFactBox({
...factBoxOptions,
message: `Installed Next.js Starter successfully in the ${nextjsDirectory} directory.`,
message: `Installed Next.js Starter Storefront successfully in the ${nextjsDirectory} directory.`,
})
return nextjsDirectory