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,12 @@
{
"name": "@islandflow/refdata",
"private": true,
"type": "module",
"scripts": {
"dev": "bun run src/index.ts"
},
"dependencies": {
"@islandflow/config": "workspace:*",
"@islandflow/observability": "workspace:*"
}
}

View file

@ -0,0 +1,17 @@
import { createLogger } from "@islandflow/observability";
const service = "refdata";
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);

View file

@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": []
},
"include": ["src/**/*.ts"]
}