Skip to content

Commit 625dd8e

Browse files
authored
feat: add tsup and swc template options (#71)
1 parent 4b2dc1f commit 625dd8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/prompts/PromptNew.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import type { Choice, PromptObject } from 'prompts';
22

33
const tsTemplates: Choice[] = [
44
{ title: 'Default template (Recommended)', value: 'with-typescript-recommended' },
5-
{ title: 'with Docker', value: 'with-docker' }
5+
{ title: 'with Docker', value: 'with-docker' },
6+
{ title: 'with tsup', value: 'with-tsup' },
7+
{ title: 'with SWC', value: 'with-swc' }
68
];
79
const jsTemplates: Choice[] = [{ title: 'Default template (Recommended)', value: 'with-javascript' }];
810

0 commit comments

Comments
 (0)