From 40686871e9a620acc1df569167849156476c1d73 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 11 Jul 2024 14:47:18 -0400 Subject: [PATCH] Remove cruft --- packages/create-app/src/run.ts | 13 ------------- packages/create-app/src/templates.ts | 1 - 2 files changed, 14 deletions(-) diff --git a/packages/create-app/src/run.ts b/packages/create-app/src/run.ts index db68b4ad0..96d01fd47 100644 --- a/packages/create-app/src/run.ts +++ b/packages/create-app/src/run.ts @@ -79,7 +79,6 @@ export async function run( consola.info(`Copying files into project directory`); - // if (template.q) { const files: Map< string, { type: "base64"; body: string } | { type: "raw"; body: string } @@ -99,18 +98,6 @@ export async function run( ), ); } - // } else { - // const templatesDir = findUpSync("templates", { - // cwd: path.dirname(fileURLToPath(import.meta.url)), - // type: "directory", - // }); - // if (templatesDir == null) { - // throw new Error(`Could not find templates directory`); - // } - // const templateDir = path.resolve(templatesDir, template.id); - - // fs.cpSync(templateDir, root, { recursive: true }); - // } const templateContext: TemplateContext = { project, diff --git a/packages/create-app/src/templates.ts b/packages/create-app/src/templates.ts index 427fef52e..e624ea862 100644 --- a/packages/create-app/src/templates.ts +++ b/packages/create-app/src/templates.ts @@ -16,7 +16,6 @@ export interface Template { id: string; - q?: string; label: string; envPrefix: string; buildDirectory: string;