@verdaccio/config
Version:
Verdaccio Configuration
9 lines (8 loc) • 646 B
TypeScript
import type { PackageList, UpLinksConfList } from '@verdaccio/types';
export declare const DEFAULT_REGISTRY = "https://registry.npmjs.org";
export declare const DEFAULT_UPLINK = "npmjs";
export declare function uplinkSanityCheck(uplinks: UpLinksConfList, users?: any): UpLinksConfList;
export declare function sanityCheckUplinksProps(configUpLinks: UpLinksConfList): UpLinksConfList;
export declare function getProxiesForPackage(pkg: string, packages: PackageList): string[];
export declare function hasProxyTo(pkg: string, upLink: string, packages: PackageList): boolean;
export declare function sanityCheckNames(item: string, users: any): any;