[codex] Bump Effect to beta.73 and migrate compatibility APIs (#2840)
Co-authored-by: codex <[email protected]>
This commit is contained in:
1 parent
4f0f24f055
commit
e6330ead82
47 files changed
+1091
-853
No files matched your search
@@ -278,7 +278,7 @@ export const resolveBuildOptions = Effect.fn("resolveBuildOptions")(function* (
|
||||
) {
|
||||
const path = yield* Path.Path;
|
||||
const repoRoot = yield* RepoRoot;
|
||||
const env = yield* BuildEnvConfig.asEffect();
|
||||
const env = yield* BuildEnvConfig;
|
||||
|
||||
const platform = mergeOptions(
|
||||
input.platform,
|
||||
|
||||
@@ -385,7 +385,7 @@ interface DevRunnerCliInput {
|
||||
|
||||
export function runDevRunnerWithInput(input: DevRunnerCliInput) {
|
||||
return Effect.gen(function* () {
|
||||
const { portOffset, devInstance } = yield* OffsetConfig.asEffect().pipe(
|
||||
const { portOffset, devInstance } = yield* OffsetConfig.pipe(
|
||||
Effect.mapError(
|
||||
(cause) =>
|
||||
new DevRunnerError({
|
||||
|
||||
@@ -24,7 +24,7 @@ const resolveMockUpdateServerConfig = Effect.gen(function* () {
|
||||
root: Config.string("T3CODE_DESKTOP_MOCK_UPDATE_SERVER_ROOT").pipe(
|
||||
Config.withDefault("../release-mock"),
|
||||
),
|
||||
}).asEffect();
|
||||
});
|
||||
|
||||
const resolvedRoot = path.resolve(import.meta.dirname, config.root);
|
||||
|
||||
|
||||
Reference in new issue
Block a user