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

Function readAndBuildMetadata

scripts/validate-publish.ts:49–50  ·  view source on GitHub ↗
(packageJsonPath: string, dir: string)

Source from the content-addressed store, hash-verified

47};
48
49const readAndBuildMetadata = (packageJsonPath: string, dir: string) =>
50 pipe(packageJsonPath, readFileAsString, Effect.map(buildPackageMetadata(dir)));
51
52const readPackageMetadataIfExists = (packageJsonPath: string, dir: string) => (exists: boolean) =>
53 pipe(

Callers 1

Calls 1

buildPackageMetadataFunction · 0.85

Tested by

no test coverage detected