UNPKG

@wocker/ws

Version:

Docker workspace for web projects

20 lines (19 loc) 972 B
import { Cli, AppConfigService, LogService } from "@wocker/core"; import { PackageManager, RegistryService } from "../../package-manager"; import { Plugin } from "../../../makes"; export declare class PluginService { protected readonly appConfigService: AppConfigService; protected readonly pm: PackageManager; protected readonly registryService: RegistryService; protected readonly logService: LogService; protected readonly cli: Cli; protected rule: string; constructor(appConfigService: AppConfigService, pm: PackageManager, registryService: RegistryService, logService: LogService, cli: Cli); getPluginsTable(): string; checkPlugin(pluginName: string): Promise<boolean>; install(pluginName: string, version?: string): Promise<void>; uninstall(pluginName: string): Promise<void>; import(name: string): Promise<Plugin>; update(): Promise<void>; protected getCurrentVersion(name: string): Promise<string | null>; }