Skip to main content

Interface: WriteInput

Defined in: packages/core/src/writer/types.ts:13

Properties​

artifacts?​

optional artifacts?: Record<string, GeneratorArtifact>;

Defined in: packages/core/src/writer/types.ts:21

Generator short name -> artifact. Mode B reads peerDependencies from it; mode A ignores it. Optional so a bare directoryWriter.write({ files, output }) call still type-checks.


files​

files: VirtualFile[];

Defined in: packages/core/src/writer/types.ts:14


logger?​

optional logger?: Logger;

Defined in: packages/core/src/writer/types.ts:23

Mode B logs the manual install command here when no pm is resolved.


output​

output: OutputConfig;

Defined in: packages/core/src/writer/types.ts:15