From 8f23615f1d3cb455e94d77279dc44e5ab87a2589 Mon Sep 17 00:00:00 2001 From: Duro <47304910+DuroCodes@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:57:45 -0400 Subject: [PATCH] fix: fix typescript in sern.config.json --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 64f5f98..4b51d42 100644 --- a/src/index.ts +++ b/src/index.ts @@ -96,7 +96,7 @@ async function runInteractive() { fs.mkdirSync(root, { recursive: true }); } const configJson = createConfig( - (result.template as string).includes('typescript') + (result.template as string).includes('ts') ); await createProject( result.name, @@ -139,7 +139,7 @@ async function runShort( } else if (!fs.existsSync(root)) { fs.mkdirSync(root, { recursive: true }); } - const configJson = createConfig(templateName.includes('typescript')); + const configJson = createConfig(templateName.includes('ts')); await createProject(name, configJson, root, selectedTemplate, argv.overwrite);