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) 479 B
import { Rule, Tree, SchematicContext } from '@angular-devkit/schematics'; export interface PackageMoveOptions { toDeps?: string | string[]; toDevDeps?: string | string[]; } /** * Move packages to deps or devDeps adjusting the package.json appropriately. * * @param packageMoveOptions The PackageMoveOptions provided to the schematic */ export declare function moveNpmPackages(packageMoveOptions: PackageMoveOptions): (tree: Tree, context: SchematicContext) => Rule;