import type { Context } from "../context.js"; import { Resource } from "../resource.js"; type ViteTemplate = "vanilla" | "vanilla-ts" | "vue" | "vue-ts" | "react" | "react-ts" | "react-swc" | "react-swc-ts" | "preact" | "preact-ts" | "lit" | "lit-ts" | "svelte" | "svelte-ts" | "solid" | "solid-ts" | "qwik" | "qwik-ts"; export interface ViteProjectProps { /** * The name/path of the project */ name: string; /** * The Vite template to use */ template: ViteTemplate; /** * The extends to add to the tsconfig.json file */ extends?: string; /** * The references to add to the tsconfig.json file */ references?: string[]; /** * Add Tailwind CSS to the project * @default false */ tailwind?: boolean; /** * Add Tanstack Router to the project * @default false */ tanstack?: boolean; /** * Add Shadcn UI to the project * @default false */ shadcn?: { /** * The base color to use * @default "neutral" */ baseColor?: "neutral" | "gray" | "zinc" | "stone" | "slate"; /** * Use default configuration * @default false */ defaults?: boolean; /** * Force overwrite of existing configuration * @default false */ force?: boolean; /** * The working directory * @default current directory */ cwd?: string; /** * Mute output * @default false */ silent?: boolean; /** * Use the src directory when creating a new project * @default false */ srcDir?: boolean; /** * Use css variables for theming * @default true */ cssVariables?: boolean; /** * The components to add */ components?: string[]; }; /** * Force overwrite the project config files during the update phase * * @default false */ overwrite?: boolean; /** * Whether to delete the project folder during the delete phase * @default true */ delete?: boolean; } export interface ViteProject extends ViteProjectProps, Resource { /** * The name/path of the project */ name: string; } export declare const ViteProject: (((this: any, id: string, props?: {}) => never) & (new (_: never) => never)) | ((this: Context, id: string, props: ViteProjectProps) => Promise); export {}; //# sourceMappingURL=vite.d.ts.map