@launchql/core
Version:
LaunchQL Package and Migration Tools
15 lines (14 loc) • 598 B
TypeScript
/**
* Finds the module path by looking for pgpm.plan.
* @param cwd - Current working directory.
* @returns A promise that resolves to the directory path containing `pgpm.plan`.
*/
export declare const modulePath: (cwd?: string) => string;
/**
* Finds the LaunchQL project path.
* @param cwd - Current working directory.
* @returns A promise that resolves to the directory path containing `pgpm.json`.
*/
export declare const launchqlPath: (cwd?: string) => string;
export declare const getWorkspacePath: (cwd: string) => string;
export declare const getModulePath: (cwd: string) => string;