UNPKG

@redhat-cloud-services/hcc-pf-mcp

Version:
16 lines 686 B
type VerifyLocalPackageStatus = { exists: boolean; version: string; packageRoot: string; error?: Error; }; /** * Verifies if a local package exists and retrieves its version and root path. * * @param packageName string - The name of the local package to verify. * @param nodeModulesRootPath string - Optional absolute path to the node_modules directory root. * @returns {Promise<VerifyLocalPackageStatus>} Verification status including existence, version, and root path. */ export declare const verifyLocalPackage: (packageName: string, nodeModulesRootPath?: string) => Promise<VerifyLocalPackageStatus>; export {}; //# sourceMappingURL=verifyLocalPackage.d.ts.map