fix: typecheck without emit, placeholder test, drop build artifacts

Removes composite project references in favor of simpler -p checking.
Adds noEmit to tsconfig so tsc is typecheck-only.
Adds smoke test to unblock CI test gate.
Ignores tsbuildinfo artifacts from git.
This commit is contained in:
marcuspaico
2026-08-17 14:02:12 -07:00
parent fe9be9597c
commit caa9af2f40
11 changed files with 9 additions and 25 deletions

View File

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

View File

@@ -1,4 +0,0 @@
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 };

View File

@@ -0,0 +1,5 @@
import { expect, test } from "bun:test";
import { HealthResponse } from "@helios/shared";
test("health schema accepts ok payload", () => {
expect(HealthResponse.parse({ ok: true })).toEqual({ ok: true });
});

View File

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

File diff suppressed because one or more lines are too long