( packages: readonly PackageInternal[], rootDir: string )
| 321 | const getChangedFiles = pipe(Terminal.Terminal, Effect.flatMap(runGitDiff)); |
| 322 | |
| 323 | const getPrivatePackagePaths = ( |
| 324 | packages: readonly PackageInternal[], |
| 325 | rootDir: string |
| 326 | ): readonly string[] => { |
| 327 | return packages |
| 328 | .filter((pkg) => pkg.private === true) |
| 329 | .map((pkg) => { |
| 330 | const packageDir = pkg.path.replace(rootDir + '/', '').replace('/package.json', ''); |
| 331 | return packageDir; |
| 332 | }); |
| 333 | }; |
| 334 | |
| 335 | const filterOutPrivatePackageFiles = ( |
| 336 | changedFiles: readonly string[], |
no outgoing calls
no test coverage detected