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) 392 B
import { ProjectConfiguration, Tree } from '@nrwl/devkit'; import { Schema } from '../schema'; /** * Checks whether the destination folder is valid * * - must not be outside the workspace * - must be a new folder * * @param schema The options provided to the schematic */ export declare function checkDestination(tree: Tree, schema: Schema, projectConfig: ProjectConfiguration): void;