@ngzard/ui
Version:
An alternative to shadcn/ui for angular
79 lines • 2.18 kB
TypeScript
import { z } from 'zod';
declare const configSchema: z.ZodObject<{
$schema: z.ZodOptional<z.ZodString>;
style: z.ZodDefault<z.ZodEnum<["css"]>>;
packageManager: z.ZodDefault<z.ZodEnum<["npm", "yarn", "pnpm", "bun"]>>;
tailwind: z.ZodDefault<z.ZodObject<{
css: z.ZodDefault<z.ZodString>;
baseColor: z.ZodDefault<z.ZodString>;
cssVariables: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
css?: string;
baseColor?: string;
cssVariables?: boolean;
}, {
css?: string;
baseColor?: string;
cssVariables?: boolean;
}>>;
aliases: z.ZodDefault<z.ZodObject<{
components: z.ZodDefault<z.ZodString>;
utils: z.ZodDefault<z.ZodString>;
}, "strip", z.ZodTypeAny, {
components?: string;
utils?: string;
}, {
components?: string;
utils?: string;
}>>;
}, "strip", z.ZodTypeAny, {
$schema?: string;
style?: "css";
packageManager?: "npm" | "yarn" | "pnpm" | "bun";
tailwind?: {
css?: string;
baseColor?: string;
cssVariables?: boolean;
};
aliases?: {
components?: string;
utils?: string;
};
}, {
$schema?: string;
style?: "css";
packageManager?: "npm" | "yarn" | "pnpm" | "bun";
tailwind?: {
css?: string;
baseColor?: string;
cssVariables?: boolean;
};
aliases?: {
components?: string;
utils?: string;
};
}>;
export type Config = z.infer<typeof configSchema>;
export declare const DEFAULT_CONFIG: Config;
export declare function getConfig(cwd: string): Promise<Config | null>;
export declare function resolveConfigPaths(cwd: string, config: Config): Promise<{
resolvedPaths: {
tailwindCss: string;
components: string;
utils: string;
};
$schema?: string;
style?: "css";
packageManager?: "npm" | "yarn" | "pnpm" | "bun";
tailwind?: {
css?: string;
baseColor?: string;
cssVariables?: boolean;
};
aliases?: {
components?: string;
utils?: string;
};
}>;
export {};
//# sourceMappingURL=config.d.ts.map