UNPKG

@storm-software/config-tools

Version:

⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.

20 lines (17 loc) 895 B
import { StormWorkspaceConfigInput } from '@storm-software/config'; import { LoadConfigOptions, ResolvedConfig } from 'c12'; /** * Get the config file for the current Storm workspace * * @param fileName - The name of the config file to search for * @param filePath - The path to search for the config file in * @returns The config file for the current Storm workspace */ declare const getConfigFileByName: (fileName: string, filePath?: string, options?: LoadConfigOptions<Partial<StormWorkspaceConfigInput>>) => Promise<ResolvedConfig<Partial<StormWorkspaceConfigInput>>>; /** * Get the config file for the current Storm workspace * * @returns The config file for the current Storm workspace */ declare const getConfigFile: (filePath?: string, additionalFileNames?: string[]) => Promise<Partial<StormWorkspaceConfigInput> | undefined>; export { getConfigFile, getConfigFileByName };