setup-next-project
Version:
CLI to quickly create a pre-configured Next.js project with modular components and features
20 lines • 711 B
TypeScript
export interface Feature {
id: string;
name: string;
description: string;
dependencies?: string[];
devDependencies?: string[];
files?: FeatureFile[];
packageJsonUpdates?: Record<string, any>;
}
export interface FeatureFile {
path: string;
content: string;
mode?: 'create' | 'append' | 'prepend';
}
export declare const AVAILABLE_FEATURES: Feature[];
export declare function getFeature(featureId: string): Promise<Feature | undefined>;
export declare function getAvailableFeatures(): Feature[];
export declare function getComponentFeatures(): Promise<Feature[]>;
export declare function getAllAvailableFeatures(): Promise<Feature[]>;
//# sourceMappingURL=features.d.ts.map