UNPKG

create-zephyr-apps

Version:

A CLI tool to create web applications using Zephyr.

33 lines 1.32 kB
export declare const ProjectTypes: readonly [{ readonly value: "web"; readonly label: "Web"; readonly hint: "You will be choosing from a selection of templates provided by us."; }, { readonly value: "react-native"; readonly label: "React Native"; readonly hint: "This is a comprehensive example project provided by us. You will be building React Native powered by Re.Pack."; }]; export type Template = { name: string; label: string; hint: string; directory: string; sourceName?: string; bundlerDocumentation?: 'parcel' | 'rolldown' | 'rollup' | 'rsbuild' | 'rspack' | 'vite' | 'webpack'; }; export type ProjectType = (typeof ProjectTypes)[number]['value']; export type TemplateRepository = { name: string; url: string; revision: string; }; /** * Template revisions are intentionally pinned. Update them together with the catalog when * publishing a create-zephyr-apps release. */ export declare const TemplateRepositories: Record<ProjectType, TemplateRepository>; export declare const DEFAULT_WEB_TEMPLATE = "react-rsbuild"; export declare const Templates: readonly Template[]; export declare function getTemplate(templateName: string): Template | undefined; export declare function validateTemplateCatalog(): void; //# sourceMappingURL=templates.d.ts.map