property SchematicOptions.modules
Since 0.1.0

The domain modules already present under src/modules/, sorted.

Gathered by the command layer (utils/module-scanner.ts) so the module schematic can render an aggregate barrel listing every module while staying a pure function — the same route SchematicOptions.plugins takes for the detected plugin set.

Read by the module schematic only, exactly as now is read only by migration and plugins only by the gated schematics.

OPTIONAL purely for backward compatibility: setu generate always supplies it, but this interface is published, and a custom schematic's own test constructs one — making it required would break that test's compile with no deprecation path available (§9.2 assumes a replacement API, and there is none for an added field). Treat an absent value as "no modules yet".

Type

readonly string[]

Usage

import { type SchematicOptions } from "cli/src/index.ts";