@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
10 lines • 428 B
TypeScript
/**
* Cache of directory paths to their corresponding package names
*/
export type PackageNameCache = Map<string, string>;
/**
* Finds the package name for a generator based on its directory
* Uses a cache to avoid repeated filesystem lookups
*/
export declare function findGeneratorPackageName(generatorDirectory: string, cache: PackageNameCache): Promise<string>;
//# sourceMappingURL=find-generator-package-name.d.ts.map