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

Function readAllWorkspacePackages

scripts/validate-changesets.ts:121–126  ·  view source on GitHub ↗
(deps: readonly [FileSystem.FileSystem, Path.Path, string])

Source from the content-addressed store, hash-verified

119]): readonly PackageInternal[] => [...packages, ...examples];
120
121const readAllWorkspacePackages = (deps: readonly [FileSystem.FileSystem, Path.Path, string]) =>
122 pipe(
123 [readPackagesDir('packages', deps), readPackagesDir('examples', deps)] as const,
124 Effect.all,
125 Effect.map(combinePackageArrays)
126 );
127
128const getAllPackages = pipe(
129 [FileSystem.FileSystem, Path.Path, getRootDir] as const,

Callers

nothing calls this directly

Calls 1

readPackagesDirFunction · 0.70

Tested by

no test coverage detected