swap-lock-registry
Version:
A CLI tool to swap the registry URL in the lock file without having to remove it
23 lines (22 loc) • 447 B
TypeScript
export declare type TraitOptions = {
url: string;
ignore?: RegExp[];
yarn?: boolean;
parallel?: boolean;
ignoreReplaced?: boolean;
};
export declare type Manifest = {
name: string;
version: string;
dist: {
tarball: string;
shasum: string;
integrity?: string;
};
};
export declare type RegistryResponse = {
name: string;
versions: {
[version: string]: Manifest;
};
};