Interface RegistrySource

Configuration for a single registry source

interface RegistrySource {
    type: RegistrySourceType;
    location: string;
    branch?: string;
    token?: string;
    verified?: boolean;
    cacheDuration?: number;
    autoInstall?: boolean;
}

Properties

Type of registry source

location: string

Location (npm package name, GitHub repo, git URL, file path, or HTTP URL)

branch?: string

Optional branch/tag for git sources

token?: string

Optional authentication token for private sources

verified?: boolean

Whether this is a verified/trusted source

cacheDuration?: number

Cache duration in milliseconds (default: 1 hour)

autoInstall?: boolean

Whether to auto-install from npm if not present