hextaui
Version:
Build stunning websites effortlessly. HextaUI CLI tool to easily install components for Next.js, Vite, and Astro projects.
19 lines (18 loc) • 866 B
TypeScript
import { FrameworkType } from "../utils/project.js";
export interface FrameworkConfig {
name: string;
displayName: string;
componentsPath: string;
utilsPath: string;
globalCssPath: string[];
requiredDependencies: string[];
requiredDevDependencies: string[];
tsConfigUpdates?: Record<string, any>;
viteConfigUpdates?: string;
astroConfigUpdates?: string;
}
export declare const FRAMEWORK_CONFIGS: Record<FrameworkType, FrameworkConfig>;
export declare function getFrameworkConfig(framework: FrameworkType): FrameworkConfig;
export declare function getComponentsDir(framework: FrameworkType, projectRoot: string): string;
export declare function getUtilsDir(framework: FrameworkType, projectRoot: string): string;
export declare function findGlobalCssFile(framework: FrameworkType, projectRoot: string): Promise<string | null>;