Skip to content

SetupConfig

Defined in: types.ts:22

The resolved set of feature ids a project setup run should apply. A “feature id” is just the name of a subdirectory under a consumer’s templatesPath (see standardizeFiles) — this package never hardcodes what a feature id can be.

add: string[]

Defined in: types.ts:28

Extra individual template paths (relative to templatesPath) to copy in addition to include.


optional banned?: string[]

Defined in: types.ts:30

Glob patterns (relative to the project root) to delete, evaluated after every other step.


exclude: string[]

Defined in: types.ts:26

Feature ids removed from include after presets/flags are applied — see resolveSetupConfig.


include: string[]

Defined in: types.ts:24

Feature ids whose template pack should be copied and whose dependencies.json should be merged.