UNPKG

iop

Version:
22 lines (21 loc) 958 B
export * from "./release"; export declare function getProjectNetworkName(projectName: string): string; export * from "./port-checker"; export * from "./config-validator"; /** * Sanitizes a string to be safe for use as a folder name */ export declare function sanitizeFolderName(name: string): string; /** * Processes volume mappings to ensure project isolation and proper path resolution * @param volumes Array of volume mappings (e.g., ["mydata:/data", "./local:/app"]) * @param projectName Project name for prefixing * @returns Processed volume mappings with project prefixes and resolved paths */ export declare function processVolumes(volumes: string[] | undefined, projectName: string): string[]; /** * Creates necessary project directories on the remote server * @param sshClient SSH client connection * @param projectName Project name */ export declare function ensureProjectDirectories(sshClient: any, projectName: string): Promise<void>;