@nrwl/workspace
Version:
11 lines (10 loc) • 379 B
TypeScript
import type { ProjectGraph } from '@nrwl/devkit';
/**
* Creates a package.json in the output directory for support to install dependencies within containers.
*
* If a package.json exists in the project, it will reuse that.
*/
export declare function createPackageJson(projectName: string, graph: ProjectGraph, options: {
projectRoot?: string;
root?: string;
}): any;