Scaffold monorepo dev setup

This commit is contained in:
dirtydishes 2025-12-27 18:45:26 -05:00
commit d2a09e095a
47 changed files with 1033 additions and 0 deletions

View file

@ -0,0 +1,17 @@
import { createLogger } from "@islandflow/observability";
const service = "ingest-equities";
const logger = createLogger({ service });
logger.info("service starting");
const shutdown = (signal: string) => {
logger.info("service stopping", { signal });
process.exit(0);
};
process.on("SIGINT", () => shutdown("SIGINT"));
process.on("SIGTERM", () => shutdown("SIGTERM"));
// Keep the process alive until real listeners are wired.
setInterval(() => {}, 60_000);