UNPKG

psrworld

Version:

A TypeScript-powered project scaffolding tool with dual CommonJS/ESM build support

48 lines 1.18 kB
/** * Type definitions for the project scaffolding tool */ export interface TailwindCssVariant { name: string; display: string; color: (text: string) => string; desc: string; customCommand?: string; templateDir?: string; } export interface FrameworkVariant { name: string; display: string; color: (text: string) => string; templateDir?: string; customCommand?: string; desc: string; tailwindCssVariants?: TailwindCssVariant[]; } export interface Framework { name: string; display: string; color: (text: string) => string; desc?: string; variants: FrameworkVariant[]; } export interface PackageInfo { name: string; version: string; } export interface SelectedOptions { framework?: string; variant?: string; installDeps?: boolean; addTailwind?: boolean; tailwindVariant?: string; } export interface TemplateOptions { selectedVariant: FrameworkVariant | null; framework: Framework | null; projectName: string; templateName: string; installDeps?: boolean; addTailwind?: boolean; tailwindVariant?: string | null; } //# sourceMappingURL=types.d.ts.map