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.
8 lines (7 loc) • 337 B
TypeScript
/**
* Get the version of a package from its package.json file.
* @param packageName Name of the package to get the version for
* @param cwd Current working directory to resolve from
* @returns Version of the package or null if not found
*/
export declare function getPackageVersion(packageName: string, cwd: string): string | null;