( directoryName: string, [fs, path, rootDir]: readonly [FileSystem.FileSystem, Path.Path, string] )
| 102 | }); |
| 103 | |
| 104 | const readPackagesDir = ( |
| 105 | directoryName: string, |
| 106 | [fs, path, rootDir]: readonly [FileSystem.FileSystem, Path.Path, string] |
| 107 | ) => { |
| 108 | const packagesDir = path.join(rootDir, directoryName); |
| 109 | return pipe( |
| 110 | packagesDir, |
| 111 | fs.exists, |
| 112 | Effect.flatMap(readPackagesWhenExists(fs, path, packagesDir)) |
| 113 | ); |
| 114 | }; |
| 115 | |
| 116 | const combinePackageArrays = ([packages, examples]: readonly [ |
| 117 | readonly PackageInternal[], |
no test coverage detected