UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

12 lines (11 loc) 699 B
export type SupportedPackageManager = 'yarn' | 'npm'; /** Get the package-manager in use */ export declare function getCurrentPackageManager(cwd: string): SupportedPackageManager; /** Get the run command respective to the current package manager */ export declare function getRunCommand(script: string, cwd: string): string; /** Abstraction all package managers uninstall command */ export declare function uninstall(packages: string): Promise<string>; /** Abstraction all package managers remove command */ export declare function remove(packages: string): Promise<string>; /** Abstraction all package managers upgrade command */ export declare function upgrade(packages: string): Promise<string>;