@nrwl/workspace
Version:
11 lines (10 loc) • 482 B
TypeScript
import { ProjectConfiguration, Tree } from '@nrwl/devkit';
import { NormalizedSchema } from '../schema';
/**
* Updates the videos and screenshots folders in the cypress.json/cypress.config.ts if it exists (i.e. we're moving an e2e project)
*
* (assume relative paths have been updated previously)
*
* @param schema The options provided to the schematic
*/
export declare function updateCypressConfig(tree: Tree, schema: NormalizedSchema, project: ProjectConfiguration): Tree;