From 4adcc2f41152b118cb2bb283e1b6fff2499adfcf Mon Sep 17 00:00:00 2001 From: Harry Allen <66224939+MajesticString@users.noreply.github.com> Date: Mon, 24 Jan 2022 17:54:52 -0800 Subject: [PATCH] feat: add tsup and swc template options --- src/prompts/PromptNew.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/prompts/PromptNew.ts b/src/prompts/PromptNew.ts index e9080c9..f6c64b7 100644 --- a/src/prompts/PromptNew.ts +++ b/src/prompts/PromptNew.ts @@ -2,7 +2,9 @@ import type { Choice, PromptObject } from 'prompts'; const tsTemplates: Choice[] = [ { title: 'Default template (Recommended)', value: 'with-typescript-recommended' }, - { title: 'with Docker', value: 'with-docker' } + { title: 'with Docker', value: 'with-docker' }, + { title: 'with tsup', value: 'with-tsup' }, + { title: 'with SWC', value: 'with-swc' } ]; const jsTemplates: Choice[] = [{ title: 'Default template (Recommended)', value: 'with-javascript' }];