History

Merge pull request #284 from RhysSullivan/worktree-publish-execution-cli

feat(release): publish execution, cli, and kernel packages to npm

Rhys Sullivan committed 7 months ago

Commit 599ae332 parents 96dc18a 905973b35 files · +772 −66Browse files

Showing the changes to apps/cloud/src/services (1 of 35 files). Show all

Unified · Split

apps/cloud/src/services/__test-harness__/api-harness.ts+2−1
@@ -31,6 +31,7 @@ import { · 30 unmodified lines
31 ExecutorService,31 ExecutorService,
32} from "@executor/api/server";32} from "@executor/api/server";
33import { createExecutionEngine } from "@executor/execution";33import { createExecutionEngine } from "@executor/execution";
34import { makeQuickJsExecutor } from "@executor/runtime-quickjs";
34import {35import {
35 Scope,36 Scope,
36 ScopeId,37 ScopeId,
@@ -215,7 +216,7 @@ const TestApiLive = HttpApiBuilder.api(ProtectedCloudApi).pipe( · 178 unmodified lines
215const buildAppForScope = (scopeId: string, scopeName: string) =>216const buildAppForScope = (scopeId: string, scopeName: string) =>
216 Effect.gen(function* () {217 Effect.gen(function* () {
217 const executor = yield* createTestScopedExecutor(scopeId, scopeName);218 const executor = yield* createTestScopedExecutor(scopeId, scopeName);
218 const engine = createExecutionEngine({ executor });219 const engine = createExecutionEngine({ executor, codeExecutor: makeQuickJsExecutor() });
219 const services = Layer.mergeAll(220 const services = Layer.mergeAll(
220 Layer.succeed(ExecutorService, executor),221 Layer.succeed(ExecutorService, executor),
221 Layer.succeed(ExecutionEngineService, engine),222 Layer.succeed(ExecutionEngineService, engine),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t