PackageRepositoryUrlOptions
Options for packageRepositoryUrl.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/config/package-json.ts - Source link:
src/core/config/package-json.ts:453
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;