UNPKG

@typescript-tools/lerna-packages

Version:
19 lines 651 B
/** * lerna-packages * Discover internal packages */ import { LernaPackage } from '@typescript-tools/io-ts'; import { MonorepoRootError } from '@typescript-tools/monorepo-root'; import * as TE from 'fp-ts/TaskEither'; export declare type PackageDiscoveryError = MonorepoRootError | { type: 'unable to discover internal packages'; error: unknown; } | { type: 'unable to decode list of packages'; error: string; }; /** * Search the monorepo and enumerate all internal packages. */ export declare function lernaPackages(findRootFrom?: string): TE.TaskEither<PackageDiscoveryError, LernaPackage[]>; //# sourceMappingURL=index.d.ts.map