@aerocorp/cli
Version:
AeroCorp CLI 5.1.0 - Future-Proofed Enterprise Infrastructure with Live Preview, Tunneling & Advanced DevOps
63 lines • 1.64 kB
TypeScript
/**
* AeroCorp CLI 5.0.0 - Vercel-like Deployment Service
* Windows-native deployment that works like "npx vercel --prod"
* Uses HTTP APIs primarily, SSH only as fallback
*/
export interface DeploymentResult {
success: boolean;
url?: string;
deploymentId?: string;
logs?: string[];
duration?: number;
}
export interface ProjectDetection {
type: 'vite' | 'next' | 'react' | 'node' | 'static' | 'unknown';
buildCommand?: string;
outputDir?: string;
packageManager: 'npm' | 'yarn' | 'pnpm';
hasDockerfile: boolean;
}
export declare class VercelLikeDeployService {
private configService;
private coolifyService;
private sshService;
private windowsService;
constructor();
/**
* Main deployment function - works like "npx vercel --prod"
*/
deploy(options?: {
prod?: boolean;
preview?: boolean;
app?: string;
branch?: string;
tag?: string;
build?: boolean;
yes?: boolean;
}): Promise<DeploymentResult>;
/**
* Validate deployment environment
*/
private validateEnvironment;
/**
* Detect project type and configuration
*/
private detectProject;
/**
* Build project using detected package manager
*/
private buildProject;
/**
* Deploy via Coolify API (primary method - like Vercel)
*/
private deployViaCoolify;
/**
* Fallback SSH deployment method
*/
private deployViaSSH;
/**
* Show deployment help (Vercel-like)
*/
showDeploymentHelp(): void;
}
//# sourceMappingURL=vercel-like-deploy.d.ts.map