Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -2,7 +2,13 @@ · 1 unmodified line | |||
| 2 | 2 | ||
| 3 | import * as NodeRuntime from "@effect/platform-node/NodeRuntime"; | 3 | import * as NodeRuntime from "@effect/platform-node/NodeRuntime"; |
| 4 | import * as NodeServices from "@effect/platform-node/NodeServices"; | 4 | import * as NodeServices from "@effect/platform-node/NodeServices"; |
| 5 | import { Console, Data, Effect, FileSystem, Logger, Path } from "effect"; | 5 | import * as Console from "effect/Console"; |
| 6 | import * as Data from "effect/Data"; | ||
| 7 | import * as Effect from "effect/Effect"; | ||
| 8 | import * as FileSystem from "effect/FileSystem"; | ||
| 9 | import * as Logger from "effect/Logger"; | ||
| 10 | import * as Path from "effect/Path"; | ||
| 11 | import * as PlatformError from "effect/PlatformError"; | ||
| 6 | import { Command } from "effect/unstable/cli"; | 12 | import { Command } from "effect/unstable/cli"; |
| 7 | import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"; | 13 | import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"; |
| 8 | 14 | ||
| @@ -100,7 +106,11 @@ const runCommand = Effect.fn("runCommand")(function* ( · 91 unmodified lines | |||
| 100 | 106 | ||
| 101 | function collectSources( | 107 | function collectSources( |
| 102 | directory: string, | 108 | directory: string, |
| 103 | ): Effect.Effect<ReadonlyArray<string>, unknown, FileSystem.FileSystem | Path.Path> { | 109 | ): Effect.Effect< |
| 110 | ReadonlyArray<string>, | ||
| 111 | PlatformError.PlatformError, | ||
| 112 | FileSystem.FileSystem | Path.Path | ||
| 113 | > { | ||
| 104 | return Effect.gen(function* () { | 114 | return Effect.gen(function* () { |
| 105 | const fs = yield* FileSystem.FileSystem; | 115 | const fs = yield* FileSystem.FileSystem; |
| 106 | const path = yield* Path.Path; | 116 | const path = yield* Path.Path; |