Skip to content

Commit d93e8af

Browse files
committed
export run manager
1 parent fd5c965 commit d93e8af

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

cli/src/run-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export class RunManager {
297297
}
298298
return totalCount;
299299
}
300-
async spawnInit() {
300+
async spawnInit(): Promise<true | never> {
301301
const proc = this.spawnProcess("init");
302302
const status = await proc.status;
303303
if (!status.success) {

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inspatial/cloud",
3-
"version": "0.7.25",
3+
"version": "0.7.26",
44
"license": "Apache-2.0",
55
"exports": {
66
".": "./mod.ts",

mod.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import MimeTypes from "~/files/mime-types/mime-types.ts";
22
import { requestHandler } from "~/serve/request-handler.ts";
3+
export { InCloudRunner } from "~/runner/in-cloud-runner.ts";
4+
export { RunManager } from "#cli/run-manager.ts";
35
export { StaticFileHandler } from "~/static/staticFileHandler.ts";
46
export { PostgresPool } from "~/orm/db/postgres/pgPool.ts";
57
export { InCloud } from "~/in-cloud.ts";

src/runner/in-cloud-runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { CloudExtension } from "~/extension/cloud-extension.ts";
1313
import { isPgError } from "../orm/db/postgres/pgError.ts";
1414
import { PGErrorCode } from "../orm/db/postgres/maps/errorMap.ts";
1515

16-
class InCloudRunner {
16+
export class InCloudRunner {
1717
#mode?: CloudRunnerMode;
1818
rootPath: string;
1919
#initialized: boolean = false;

0 commit comments

Comments
 (0)