UNPKG

@nrwl/workspace

Version:

The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.

12 lines (11 loc) 431 B
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;