@launchql/env
Version:
LaunchQL environment management
22 lines (21 loc) • 879 B
TypeScript
import { LaunchQLOptions } from '@launchql/types';
/**
* Load configuration file with support for both .js and .json formats
* Moved from LaunchQLPackage class for better reusability
*/
export declare const loadConfigFileSync: (configPath: string) => LaunchQLOptions;
/**
* Load configuration from a specific directory
* Moved from LaunchQLPackage class for better reusability
*/
export declare const loadConfigSyncFromDir: (dir: string) => LaunchQLOptions;
/**
* Load configuration using walkUp to find config files
* Enhanced version that uses the robust config loading logic
*/
export declare const loadConfigSync: (cwd?: string) => LaunchQLOptions;
/**
* Resolve the path to the LaunchQL workspace by finding config files
* Moved from LaunchQLPackage class for better reusability
*/
export declare const resolveLaunchqlPath: (cwd?: string) => string | undefined;