UNPKG

peezy-cli

Version:

Production-ready CLI for scaffolding modern applications with curated full-stack templates, intelligent migrations, and enterprise security.

38 lines (37 loc) 1.01 kB
/** * Plugin Utilities v1.0 * * Utility functions and helpers for plugin development */ import type { PluginUtils, PluginLogger } from "./types.js"; /** * Create plugin utilities instance */ export declare function createPluginUtils(projectPath: string, dependencies: { production: string[]; development: string[]; }, packageJsonUpdates: Record<string, any>): PluginUtils; /** * Create plugin logger instance */ export declare function createPluginLogger(pluginName: string): PluginLogger; /** * Validate plugin configuration */ export declare function validatePluginConfig(config: any): { valid: boolean; errors: string[]; }; /** * Create a basic plugin template */ export declare function createPluginTemplate(name: string, description: string): string; /** * Plugin development helpers */ export declare const PluginDev: { /** * Create a new plugin project structure */ createPluginProject(name: string, description: string, targetDir: string): Promise<void>; };