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.

23 lines (22 loc) 694 B
import { ProjectConfiguration, Tree } from '@nrwl/devkit'; import { Schema } from '../schema'; /** * This helper function ensures that we don't move libs or apps * outside of the folders they should be in. * * This will break if someone isn't using the default libs/apps * folders. In that case, they're on their own :/ */ export declare function getDestination(host: Tree, schema: Schema, project: ProjectConfiguration): string; /** * Replaces slashes with dashes * * @param path */ export declare function getNewProjectName(path: string): string; /** * Normalizes slashes (removes duplicates) * * @param input */ export declare function normalizeSlashes(input: string): string;