From 784454522d1174e7a7f5ca6a293759015a5bbe0b Mon Sep 17 00:00:00 2001 From: Konstantin Wohlwend Date: Thu, 2 Jul 2026 16:33:32 -0700 Subject: [PATCH] Add bulldozerDb as a global on globalThis --- apps/bulldozer-js/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/bulldozer-js/src/index.ts b/apps/bulldozer-js/src/index.ts index 2ed8508e7..0ab786c7f 100644 --- a/apps/bulldozer-js/src/index.ts +++ b/apps/bulldozer-js/src/index.ts @@ -77,6 +77,7 @@ const bulldozerDb = declareBulldozerDatabase( { migrations: schema.migrations }, ); await traceSpan("bulldozer-js.applyRemainingMigrations", async () => await bulldozerDb.applyRemainingMigrations()); +(globalThis as any).bulldozerDb = bulldozerDb; function jsonResponse(body: unknown, init?: ResponseInit) { return new Response(JSON.stringify(body), {