feat(release): publish execution, cli, and kernel packages to npm
Showing the changes to apps/cloud/src/services (1 of 35 files). Show all
Unified · Split
| @@ -31,6 +31,7 @@ import { · 30 unmodified lines | ||
| 31 | 31 | ExecutorService, |
| 32 | 32 | } from "@executor/api/server"; |
| 33 | 33 | import { createExecutionEngine } from "@executor/execution"; |
| 34 | +import { makeQuickJsExecutor } from "@executor/runtime-quickjs"; | |
| 34 | 35 | import { |
| 35 | 36 | Scope, |
| 36 | 37 | ScopeId, |
| @@ -215,7 +216,7 @@ const TestApiLive = HttpApiBuilder.api(ProtectedCloudApi).pipe( · 178 unmodified lines | ||
| 215 | 216 | const buildAppForScope = (scopeId: string, scopeName: string) => |
| 216 | 217 | Effect.gen(function* () { |
| 217 | 218 | const executor = yield* createTestScopedExecutor(scopeId, scopeName); |
| 218 | − const engine = createExecutionEngine({ executor }); | |
| 219 | + const engine = createExecutionEngine({ executor, codeExecutor: makeQuickJsExecutor() }); | |
| 219 | 220 | const services = Layer.mergeAll( |
| 220 | 221 | Layer.succeed(ExecutorService, executor), |
| 221 | 222 | Layer.succeed(ExecutionEngineService, engine), |