@nrwl/workspace
Version:
12 lines (11 loc) • 431 B
TypeScript
import { Tree } from '@nrwl/devkit';
/**
* Sets the default collection within the workspace.
*
* Will only set the defaultCollection if one does not exist or if it is not `@nrwl/workspace`
*
* @deprecated NxJson defaultCollection will be removed
* @param host
* @param collectionName Name of the collection to be set as the default
*/
export declare function setDefaultCollection(host: Tree, collectionName: string): void;