SigilryConfig
Defined in: packages/cli/src/config.ts:23
CLI configuration options
Properties
Section titled “Properties”cleanup?
Section titled “cleanup?”
optionalcleanup: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.
dpmSdkVersion?
Section titled “dpmSdkVersion?”
optionaldpmSdkVersion: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.
output?
Section titled “output?”
optionaloutput:string
Defined in: packages/cli/src/config.ts:34
Output directory for generated TypeScript files. Defaults to ’./src/generated’
watch?
Section titled “watch?”
optionalwatch:boolean
Defined in: packages/cli/src/config.ts:46
Enable watch mode to regenerate on DAR changes. Defaults to false.