feat(web): add og image

This commit is contained in:
Aman Varshney
2025-08-29 23:48:43 +05:30
parent 9f309a8db3
commit f37412f076
17 changed files with 159 additions and 46 deletions

View File

@@ -22,14 +22,14 @@ export async function addAddonsToProject(
const isBetterTStack = await isBetterTStackProject(projectDir);
if (!isBetterTStack) {
exitWithError(
"This doesn't appear to be a Better-T Stack project. Please run this command from the root of a Better-T Stack project.",
"This doesn't appear to be a Better-T-Stack project. Please run this command from the root of a Better-T-Stack project.",
);
}
const detectedConfig = await detectProjectConfig(projectDir);
if (!detectedConfig) {
exitWithError(
"Could not detect the project configuration. Please ensure this is a valid Better-T Stack project.",
"Could not detect the project configuration. Please ensure this is a valid Better-T-Stack project.",
);
}

View File

@@ -31,14 +31,14 @@ export async function addDeploymentToProject(
const isBetterTStack = await isBetterTStackProject(projectDir);
if (!isBetterTStack) {
exitWithError(
"This doesn't appear to be a Better-T Stack project. Please run this command from the root of a Better-T Stack project.",
"This doesn't appear to be a Better-T-Stack project. Please run this command from the root of a Better-T-Stack project.",
);
}
const detectedConfig = await detectProjectConfig(projectDir);
if (!detectedConfig) {
exitWithError(
"Could not detect the project configuration. Please ensure this is a valid Better-T Stack project.",
"Could not detect the project configuration. Please ensure this is a valid Better-T-Stack project.",
);
}

View File

@@ -47,7 +47,7 @@ export async function createProjectHandler(
if (input.renderTitle !== false) {
renderTitle();
}
intro(pc.magenta("Creating a new Better-T Stack project"));
intro(pc.magenta("Creating a new Better-T-Stack project"));
if (input.yolo) {
consola.fatal("YOLO mode enabled - skipping checks. Things may break!");
@@ -265,7 +265,7 @@ export async function addAddonsHandler(input: AddInput) {
if (!detectedConfig) {
exitWithError(
"Could not detect project configuration. Please ensure this is a valid Better-T Stack project.",
"Could not detect project configuration. Please ensure this is a valid Better-T-Stack project.",
);
}

View File

@@ -187,7 +187,7 @@ export async function displayPostInstallInstructions(
tazeCommand,
)}\n\n`;
output += `${pc.bold(
"Like Better-T Stack?",
"Like Better-T-Stack?",
)} Please consider giving us a star\n on GitHub:\n`;
output += pc.cyan("https://github.com/AmanVarshney01/create-better-t-stack");