UNPKG

pnpm

Version:

A fast implementation of npm install

8 lines (7 loc) 599 B
import { PnpmContext } from './getContext'; import { PnpmOptions, StrictPnpmOptions, Package } from '../types'; import { StoreJson } from '../fs/storeJsonController'; export default function uninstallCmd(pkgsToUninstall: string[], maybeOpts?: PnpmOptions): Promise<void>; export declare function uninstallInContext(pkgsToUninstall: string[], pkg: Package, ctx: PnpmContext, opts: StrictPnpmOptions): Promise<void>; export declare function tryUninstall(pkgIds: string[], storeJson: StoreJson, pkgPath: string): string[]; export declare function removePkgFromStore(pkgId: string, store: string): any;