MCPcopy Create free account
hub / github.com/CodeForBreakfast/eventsourcing / readPackageMetadata

Function readPackageMetadata

scripts/validate-publish.ts:68–69  ·  view source on GitHub ↗
(packagesDir: string)

Source from the content-addressed store, hash-verified

66 );
67
68const readPackageMetadata = (packagesDir: string) => (dir: string) =>
69 pipe(joinToPath(packagesDir, dir, 'package.json'), Effect.andThen(checkExistsAndRead(dir)));
70
71const processPackageDirectories = (packagesDir: string) => (dirs: ReadonlyArray<string>) =>
72 pipe(

Callers 1

Calls 2

joinToPathFunction · 0.85
checkExistsAndReadFunction · 0.85

Tested by

no test coverage detected