@roots/dependencies
Version:
Automated package installation
18 lines (17 loc) • 563 B
TypeScript
import type { IDependencyManager } from '../index.js';
import { Command } from './base.command.js';
/**
* Yarn command
*/
export declare class Yarn extends Command implements IDependencyManager {
/**
* Get the latest version of a package from the registry
*/
getLatestVersion(signifier: string): Promise<string>;
/**
*/
install(dependencies: Array<[string, string] | string>, args?: Array<string>): Promise<any>;
/**
*/
uninstall(dependencies: Array<[string, string] | string>, args?: Array<string>): Promise<any>;
}