publicResolveOptions
Index
Properties
optionalbail
optionalconcurrency
Maximum number of concurrent tasks.
optionalindex
Source index of a manifest.
optionalkeepAjvErrors
Do not transform Ajv errors to issues.
optionalpath
Source path of a manifest.
optionalthrowOnError
Throw an error when an issue with error
severity is found.
optionalvalidate
Enable validation.
Methods
optionaltransform
Transform a manifest. This function is called when a new manifest is found, and before the validation. The return value will override the data of the manifest. If the return value is
undefined
ornull
, the manifest will be removed from the result.Parameters
manifest: Manifest
Returns unknown
optionalvalidateManifest
Validate a manifest. This function is called after
validate
method of a manifest. No mattervalidate
method exists or not, this function will be called.If the
bail
option istrue
, andvalidate
method failed, this function will not be called.Parameters
manifest: Manifest
Returns void | Promise<void>
Stop immediately when an error occurred.