@intlayer/chokidar
Version:
Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.
26 lines • 718 B
TypeScript
//#region src/listProjects.d.ts
type ListProjectsOptions = {
/**
* Base directory to search from
* @default process.cwd()
*/
baseDir?: string;
/**
* If true, search from the git root directory instead of baseDir
* @default false
*/
gitRoot?: boolean;
};
/**
* List all Intlayer projects by searching for configuration files
*
* @param options - Options for listing projects
* @returns Array of absolute paths to project directories containing Intlayer config
*/
declare const listProjects: (options?: ListProjectsOptions) => Promise<{
searchDir: string;
projectsPath: string[];
}>;
//#endregion
export { ListProjectsOptions, listProjects };
//# sourceMappingURL=listProjects.d.ts.map