@kurotako/gen-angular
v0.4.0
Published
kurotako generator that emits Angular reactive forms from the intermediate representation.
Maintainers
Readme
@kurotako/gen-angular
The Angular generator for kurotako: emits Angular types
and typed FormGroups from kurotako's intermediate representation.
Embeds @kurotako/gen-zod as a private dependency: core runs its own copy of the Zod
generator for it, into <namespace>/angular/zod/, so you do not list zodGenerator in
generators. Set the Zod flavor with the zodVersion option (default 4).
Install
npm install -D @kurotako/gen-angular
# bun add -d @kurotako/gen-angularNeeds Node.js >= 24; runs unmodified on Node and Bun.
Usage
import { defineConfig } from 'kurotako';
import { angularGenerator } from '@kurotako/gen-angular';
export default defineConfig({
sources: {/* ... */},
generators: [{ use: angularGenerator }],
outputs: [{ dir: './generated/kurotako' }],
});Documentation
Catalog and guides: https://kurotako.marmotz.dev/.
0.x: the public API may change between minor versions.
