Shared Zod schemas and TypeScript types for repoflow-example-web and repoflow-example-api.
See repoflow-metarepo-example for the full picture of how these repos fit together.
This package is installed via GitHub URL (no npm publish needed):
"@repoflow-example/shared": "github:axelmth/repoflow-example-shared#main"import { HelloResponseSchema, type HelloResponse } from '@repoflow-example/shared'Zod schema validating the GET /api/hello response:
{
message: string // e.g. "Hello from Fastify at 2026-04-18T16:00:00.000Z"
timestamp: string // ISO 8601 datetime
}pnpm install
pnpm build
pnpm testPart of the repoflow-examples collection:
repoflow-monorepo-example— same app as a Turborepo monoreporepoflow-metarepo-example— meta-repo orchestratorrepoflow-example-web— React frontendrepoflow-example-api— Fastify backend