Something went wrong. Try again.
because I got bored of customising my CV for every job
Something went wrong. Try again.
feat(codegen): ship static schema.gql + auto-regen client codegen on install master
Apps/api now writes its GraphQL schema to apps/api/schema.gql on every dev boot (autoSchemaFile points at a path in non-production). Apps/client codegen defaults to reading that file instead of HTTP-introspecting a live API, and apps/client gets a prepare script that regenerates src/generated/graphql.ts if it is missing. Result: a fresh clone can typecheck the client immediately after pnpm install, without any database, API server, or codegen ceremony. Schema drifts surface as diffs in apps/api/schema.gql during PR review. Production keeps autoSchemaFile: true (in-memory only), so the file is purely a dev-time artifact.
Author Niels Mokkenstorm Date (May 12, 2026, 5:50 PM UTC) Commit bc5e2591 bc5e259189a6a4daf5294612faa9ecb2ee57a1f5 Parent c8abb26d c8abb26d8451cdb560dac478cea25228b0ea7cbb