Accept replaces-base option

This commit is contained in:
Michael B. Gale
2026-04-25 17:54:46 +01:00
parent 4d2c7c6e10
commit efdcb31f11
4 changed files with 30 additions and 3 deletions
+2
View File
@@ -246,6 +246,8 @@ export function credentialToStr(credential: Credential): string {
export type Registry = {
/** The type of the package registry. */
type: string;
/** Whether the registry replaces the base registry for the ecosystem. */
"replaces-base"?: boolean;
} & Address;
// If a registry has an `url`, then that takes precedence over the `host` which may or may