PackageRepositoryUrlOptions
Options for packageRepositoryUrl.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/config/repository-url.ts - Source link:
src/core/config/repository-url.ts:26
Signatures
ts
interface PackageRepositoryUrlOptions {}Members
Properties
require
Throw a CLIError (code INVALID_REPOSITORY) instead of returning undefined when the repository field is absent or not a recognisable locator. With require: true the return type narrows to string, so callers that know their manifest carries a valid repository need no assertion — and a bad manifest fails fast with a real message instead of propagating undefined.
ts
require?: boolean;