Skip to content

Commit b298c97

Browse files
committed
fix: fixing CLI only mode with shadcn add-on
1 parent 1413389 commit b298c97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/options.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export async function normalizeOptions(
2323
cliOptions: CliOptions,
2424
): Promise<Required<Options> | undefined> {
2525
if (cliOptions.projectName) {
26-
const typescript =
26+
let typescript =
2727
cliOptions.template === 'typescript' ||
2828
cliOptions.template === 'file-router' ||
2929
cliOptions.framework === 'solid'
@@ -43,6 +43,7 @@ export async function normalizeOptions(
4343
cliOptions.addOns,
4444
)
4545
tailwind = true
46+
typescript = true
4647
}
4748

4849
return {

0 commit comments

Comments
 (0)