UNPKG

@mesh-tech/mesh-cli

Version:

CLI for Mesh platform development utilities

15 lines (14 loc) 863 B
export interface DepMismatch { name: string; expected: string; installed: string | null; } export declare const PROGRAM_EVAL_OPS: Set<string>; export declare const SKIP_ENV = "MESH_SKIP_DEPLOY_PREFLIGHT"; export declare function normalizeLockVersion(raw: unknown): string | null; export declare function extractImporterMeshVersions(lockDoc: unknown, importerRel: string): Record<string, string>; export declare function diffLockVsInstalled(expected: Record<string, string>, installed: Record<string, string | null>): DepMismatch[]; export declare function findPnpmLock(startDir: string): string | null; export declare function checkDeployDepsFresh(appRoot: string): DepMismatch[] | null; export declare function formatStaleDepsError(mismatches: DepMismatch[]): string; export declare function assertDeployDepsFresh(appRoot: string, op: string): void;