UNPKG

431 BTypeScriptView Raw
1import { Tree } from '@nrwl/devkit';
2/**
3 * Sets the default collection within the workspace.
4 *
5 * Will only set the defaultCollection if one does not exist or if it is not `@nrwl/workspace`
6 *
7 * @deprecated NxJson defaultCollection will be removed
8 * @param host
9 * @param collectionName Name of the collection to be set as the default
10 */
11export declare function setDefaultCollection(host: Tree, collectionName: string): void;