UNPKG

forge-deploy-cli

Version:

Professional CLI for local deployments with automatic subdomain routing, SSL certificates, and infrastructure management

66 lines 1.91 kB
import { BuildStep, WorkspaceSetup } from '../types'; export declare class WorkspaceManager { private projectPath; private packageManager; constructor(projectPath: string); /** * Get predefined workspace templates for common project types */ static getWorkspaceTemplates(): Record<string, Partial<WorkspaceSetup>>; private detectPackageManager; analyzeWorkspace(): Promise<WorkspaceSetup>; private detectMonorepo; /** * Suggest pre-deploy steps based on package.json scripts */ private suggestPreDeploySteps; /** * Suggest build steps based on framework and package.json */ private suggestBuildSteps; /** * Suggest post-deploy steps */ private suggestPostDeploySteps; /** * Execute a build step with proper error handling and logging */ executeBuildStep(step: BuildStep): Promise<boolean>; /** * Execute all build steps in sequence */ executeWorkflow(steps: BuildStep[]): Promise<void>; /** * Get the appropriate install command for the detected package manager */ private getInstallCommand; /** * Detect Nx project path if in a Nx workspace */ private detectNxProjectPath; /** * Detect Turbo project path if in a Turbo workspace */ private detectTurboProjectPath; /** * Interactive setup for complex workspaces */ interactiveSetup(): Promise<WorkspaceSetup>; /** * Prompt for custom build steps */ private promptCustomSteps; /** * Configure advanced options for workspace setup */ private configureAdvancedOptions; /** * Optimize workspace configuration for specific frameworks */ private optimizeForFramework; /** * Add monorepo-specific optimizations */ private optimizeForMonorepo; } //# sourceMappingURL=workspaceManager.d.ts.map