UI for Zipcoin Blue

start.d.ts 1.1KB

1234567891011121314151617
  1. import { IConfig, StarterList, StarterManifest, StarterTemplate } from '../definitions';
  2. export declare const STARTER_BASE_URL = "https://d2ql0qc7j8u4b2.cloudfront.net";
  3. export declare function isProjectNameValid(name: string): boolean;
  4. /**
  5. * If project only contains files generated by GH, it’s safe.
  6. * We also special case IJ-based products .idea because it integrates with CRA:
  7. * https://github.com/facebookincubator/create-react-app/pull/368#issuecomment-243446094
  8. */
  9. export declare function isSafeToCreateProjectIn(root: string): Promise<boolean>;
  10. export declare function getStarterTemplateText(templateList: StarterTemplate[]): string;
  11. export declare function getStarterTemplateTextList(templateList: StarterTemplate[]): string[];
  12. export declare function getHelloText(): string;
  13. export declare function readStarterManifest(p: string): Promise<StarterManifest>;
  14. export declare function updatePackageJsonForCli(projectRoot: string, appName: string): Promise<void>;
  15. export declare function getStarterList(config: IConfig): Promise<StarterList>;
  16. export declare const STARTER_TEMPLATES: StarterTemplate[];