@wocker/ws
Version:
Docker workspace for web projects
18 lines (17 loc) • 823 B
TypeScript
import { Cli, AppConfigService, LogService } from "@wocker/core";
import { NpmService } from "./NpmService";
import { Plugin } from "../makes";
export declare class PluginService {
protected readonly appConfigService: AppConfigService;
protected readonly npmService: NpmService;
protected readonly logService: LogService;
protected readonly cli: Cli;
constructor(appConfigService: AppConfigService, npmService: NpmService, logService: LogService, cli: Cli);
getPluginsTable(): string;
checkPlugin(pluginName: string): Promise<boolean>;
install(pluginName: string, beta?: boolean): Promise<void>;
uninstall(pluginName: string): Promise<void>;
import(name: string): Promise<Plugin>;
update(): Promise<void>;
protected getCurrentVersion(name: string): Promise<string | null>;
}