chore: monorepo scaffold, CI, MIT license
Bun workspaces (server/web/shared), typecheck+test gates, Gitea CI. Refs PAI-90.
This commit is contained in:
1
shared/package.json
Normal file
1
shared/package.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "name": "@helios/shared", "version": "0.0.1", "exports": { ".": "./src/types.ts" }, "dependencies": { "zod": "^3.24.0" } }
|
||||
9
shared/src/types.d.ts
vendored
Normal file
9
shared/src/types.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { z } from "zod";
|
||||
export declare const HealthResponse: z.ZodObject<{
|
||||
ok: z.ZodLiteral<true>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
ok: true;
|
||||
}, {
|
||||
ok: true;
|
||||
}>;
|
||||
export type HealthResponse = z.infer<typeof HealthResponse>;
|
||||
2
shared/src/types.js
Normal file
2
shared/src/types.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import { z } from "zod";
|
||||
export const HealthResponse = z.object({ ok: z.literal(true) });
|
||||
4
shared/src/types.ts
Normal file
4
shared/src/types.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const HealthResponse = z.object({ ok: z.literal(true) });
|
||||
export type HealthResponse = z.infer<typeof HealthResponse>;
|
||||
1
shared/tsconfig.json
Normal file
1
shared/tsconfig.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "../tsconfig.base.json", "include": ["src"] }
|
||||
1
shared/tsconfig.tsbuildinfo
Normal file
1
shared/tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user