Skip to content

@dudousxd/nestjs-inertia-codegen

Terminal window
pnpm add -D @dudousxd/nestjs-inertia-codegen

Static-analysis CLI that reads your NestJS controllers and Inertia page components and emits fully typed TypeScript files.

CLI / exportDescription
nestjs-inertia codegenOne-shot generation
nestjs-inertia codegen --watchWatch mode
nestjs-inertia initScaffolds 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.