Skip to content

SigilryConfig

Defined in: packages/cli/src/config.ts:23

CLI configuration options

optional cleanup: boolean

Defined in: packages/cli/src/config.ts:40

Clean output directory before generating. Defaults to true.


dars: string[]

Defined in: packages/cli/src/config.ts:28

Path(s) to DAR files to generate types from. Can be absolute or relative to the config file location.


optional dpmSdkVersion: string

Defined in: packages/cli/src/config.ts:57

dpm SDK version to pin codegen to.

The codegen-alpha-typescript generator only ships through dpm SDK 3.4.9; newer SDKs dropped the alpha component (see sigilry-private#54). Defaults to the pinned version; override only if you know a different SDK still provides the generator. An explicit DPM_SDK_VERSION in the environment takes precedence over this value.


optional output: string

Defined in: packages/cli/src/config.ts:34

Output directory for generated TypeScript files. Defaults to ’./src/generated’


optional watch: boolean

Defined in: packages/cli/src/config.ts:46

Enable watch mode to regenerate on DAR changes. Defaults to false.