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

11
server/package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "@helios/server",
"version": "0.0.1",
"dependencies": {
"@helios/shared": "workspace:*",
"drizzle-orm": "^0.44.0",
"hono": "^4.6.0",
"zod": "^3.24.0"
},
"devDependencies": { "bun-types": "latest", "drizzle-kit": "^0.31.0" }
}

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 };

1
server/tsconfig.json Normal file
View File

@@ -0,0 +1 @@
{ "extends": "../tsconfig.base.json", "include": ["src", "test"], "references": [{ "path": "../shared" }] }

File diff suppressed because one or more lines are too long