@nx/cypress
Version:
14 lines • 842 B
TypeScript
import { type ProjectConfiguration, type Tree } from '@nx/devkit';
import type { Expression, ObjectLiteralExpression, PropertyAssignment } from 'typescript';
export declare function cypressProjectConfigs(tree: Tree): AsyncGenerator<{
projectName: string;
projectConfig: ProjectConfiguration;
cypressConfigPath: string;
}>;
export declare function getObjectProperty(config: ObjectLiteralExpression, name: string): PropertyAssignment | undefined;
export declare function removeObjectProperty(config: ObjectLiteralExpression, property: PropertyAssignment): ObjectLiteralExpression;
export declare function updateObjectProperty(config: ObjectLiteralExpression, property: PropertyAssignment, { newName, newValue }: {
newName?: string;
newValue?: Expression;
}): ObjectLiteralExpression;
//# sourceMappingURL=migrations.d.ts.map