UNPKG

694 BTypeScriptView Raw
1import { ProjectConfiguration, Tree } from '@nrwl/devkit';
2import { Schema } from '../schema';
3/**
4 * This helper function ensures that we don't move libs or apps
5 * outside of the folders they should be in.
6 *
7 * This will break if someone isn't using the default libs/apps
8 * folders. In that case, they're on their own :/
9 */
10export declare function getDestination(host: Tree, schema: Schema, project: ProjectConfiguration): string;
11/**
12 * Replaces slashes with dashes
13 *
14 * @param path
15 */
16export declare function getNewProjectName(path: string): string;
17/**
18 * Normalizes slashes (removes duplicates)
19 *
20 * @param input
21 */
22export declare function normalizeSlashes(input: string): string;