create-vhs
Version:
Create a VHS monorepo with one command.
9 lines (8 loc) • 743 B
TypeScript
import type { ProjectOptions, TemplateVariable } from "./types.js";
export declare function validateProjectName(name: string): boolean;
export declare function replaceTemplateVariables(projectPath: string, pattern: string, variables: TemplateVariable): Promise<void>;
export declare function updatePackageJson(projectPath: string, projectName: string, options: ProjectOptions): Promise<void>;
export declare function updateTsConfig(projectPath: string, options: ProjectOptions): Promise<void>;
export declare function createGitIgnore(projectPath: string, options: ProjectOptions): Promise<void>;
export declare function getPackageManagerCommand(packageManager: string): string;
export declare function formatProjectName(name: string): string;