@dudousxd/nestjs-inertia-codegen
pnpm add -D @dudousxd/nestjs-inertia-codegenStatic-analysis CLI that reads your NestJS controllers and Inertia page components and emits fully typed TypeScript files.
Key API surface
Section titled “Key API surface”| CLI / export | Description |
|---|---|
nestjs-inertia codegen | One-shot generation |
nestjs-inertia codegen --watch | Watch mode |
nestjs-inertia init | Scaffolds nestjs-inertia.config.ts + .gitignore entry |
defineConfig(config) | Type-safe config helper |
generate(config) | Programmatic API |
watch(config, onChange?) | Programmatic watch API |
See Codegen guide for full configuration and output reference.