chore: monorepo scaffold, CI, MIT license

Bun workspaces (server/web/shared), typecheck+test gates, Gitea CI.
Refs PAI-90.
This commit is contained in:
marcuspaico
2026-08-17 13:55:39 -07:00
parent e55de20573
commit fe9be9597c
21 changed files with 359 additions and 1 deletions

5
server/src/index.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
declare const _default: {
port: number;
fetch: (request: Request, env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
};
export default _default;

4
server/src/index.js Normal file
View File

@@ -0,0 +1,4 @@
import { Hono } from "hono";
const app = new Hono();
app.get("/api/health", (c) => c.json({ ok: true }));
export default { port: Number(process.env.PORT ?? 3000), fetch: app.fetch };

6
server/src/index.ts Normal file
View File

@@ -0,0 +1,6 @@
import { Hono } from "hono";
const app = new Hono();
app.get("/api/health", (c) => c.json({ ok: true }));
export default { port: Number(process.env.PORT ?? 3000), fetch: app.fetch };