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.
16 lines (15 loc) • 874 B
TypeScript
/** Returns full paths of all @dynatrace dependencies listed in the metafile */
export declare function getAllDynatraceDependencyPaths(metadataInputs: string[]): string[];
/**
* Finds the root path of a package by traveling up the filesystem tree and checking for a package.json file.
* @param sourcefilePath Full path to the sourcefile.
* @returns Full path to package root or undefined if not package.json could be found in path.
*/
export declare function findPackageRoot(sourcefilePath: string): string | undefined;
/**
* Try to find a package by recursively traveling up the filesystem.
* @param packageName The name of the package that should be found.
* @param root The path of the root folder of the app.
* @returns The path to the package if it could be found.
*/
export declare function findPackage(packageName: string, root: string): string | undefined;