src/types.ts 544 B raw
1
export interface TemplateInfo {
2
	branch: string;
3
	description: string;
4
}
5
6
export type ProjectOptions = {
7
	projectName?: string;
8
	yes?: boolean;
9
	typescript?: boolean;
10
	repo?: string;
11
	template?: string;
12
	branch?: string;
13
	tailwind?: boolean;
14
	shadcn?: boolean;
15
	rpc?: boolean;
16
	linter?: "eslint" | "biome";
17
	router?: "none" | "reactrouter" | "reactroutermpa" | "tanstackrouter";
18
	tanstackQuery?: boolean;
19
};
20
21
export interface ProjectResult {
22
	projectName: string;
23
	gitInitialized: boolean;
24
	dependenciesInstalled: boolean;
25
	template: string;
26
}