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.

25 lines (24 loc) 1.05 kB
import type { UpdateReference } from './types/types'; /** Common interface for install package results */ interface InstallPackagesResult { packagePaths: Record<string, string>; cwd: string; } /** Helper function to install multiple packages by updating package.json and running npm install */ export declare function installAndUpgradePackages(options: { /** The project root path */ root: string; /** The update references containing the current and the latest version of a package */ updateReferences: Record<string, UpdateReference>; /** If set to true it will install the packages in temporary folders */ temporary: boolean; }): Promise<InstallPackagesResult>; /** Copies npmrc from one folder to another */ export declare function copyNpmrc(srcFolder: string, destFolder: string): void; /** Updates the passed dependency object using the provided update object */ export declare function updateDependencies(dependencies: { [key: string]: string; }, updates: { [key: string]: string; }): void; export {};