peezy-cli
Version:
Production-ready CLI for scaffolding modern applications with curated full-stack templates, intelligent migrations, and enterprise security.
42 lines (41 loc) • 1.02 kB
TypeScript
export interface AddFileOptions {
json?: boolean;
force?: boolean;
category?: string;
}
export interface FileTemplate {
name: string;
description: string;
category: string;
path: string;
dependencies?: string[];
scripts?: Record<string, string>;
devDependencies?: string[];
requiredFiles?: string[];
conflictsWith?: string[];
framework?: string[];
language?: string[];
}
export interface ProjectContext {
hasPackageJson: boolean;
hasTypeScript: boolean;
hasReact: boolean;
hasVue: boolean;
hasNextJs: boolean;
hasExpress: boolean;
hasVite: boolean;
hasTailwind: boolean;
hasESLint: boolean;
hasPrettier: boolean;
hasJest: boolean;
hasVitest: boolean;
hasDocker: boolean;
hasPython: boolean;
framework: string;
language: string;
packageManager: string;
}
/**
* Add selected files to the project
*/
export declare function addFiles(projectPath?: string, options?: AddFileOptions): Promise<void>;