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.

11 lines (10 loc) 396 B
import { Tree } from '@nrwl/devkit'; import { Schema } from '../schema'; /** * Check whether the project to be removed has builders targetted by another project * * Throws an error if the project is in use, unless the `--forceRemove` option is used. * * @param schema The options provided to the schematic */ export declare function checkTargets(tree: Tree, schema: Schema): Promise<void>;