@verdaccio/config
Version:
logger
8 lines (7 loc) • 549 B
TypeScript
import { 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 hasProxyTo(pkg: string, upLink: string, packages: PackageList): boolean;
export declare function sanityCheckNames(item: string, users: any): any;