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

Function readRootPackageJson

scripts/validate-changesets.ts:949–950  ·  view source on GitHub ↗
(fs: FileSystem.FileSystem, path: Path.Path, rootDir: string)

Source from the content-addressed store, hash-verified

947const parseRootPackageJson = (content: string) => JSON.parse(content);
948
949const readRootPackageJson = (fs: FileSystem.FileSystem, path: Path.Path, rootDir: string) =>
950 pipe(path.join(rootDir, 'package.json'), fs.readFileString, Effect.map(parseRootPackageJson));
951
952const displayValidationStart = () =>
953 pipe(

Callers 1

validateWithRootPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected