@nx/cypress
Version:
25 lines • 979 B
TypeScript
import { GeneratorCallback, Tree } from '@nx/devkit';
import { Linter, LinterType } from '@nx/eslint';
export interface CypressE2EConfigSchema {
project: string;
baseUrl?: string;
directory?: string;
js?: boolean;
skipFormat?: boolean;
setParserOptionsProject?: boolean;
skipPackageJson?: boolean;
bundler?: 'webpack' | 'vite' | 'none';
devServerTarget?: string;
linter?: Linter | LinterType;
port?: number | 'cypress-auto';
jsx?: boolean;
rootProject?: boolean;
webServerCommands?: Record<string, string>;
ciWebServerCommand?: string;
ciBaseUrl?: string;
addPlugin?: boolean;
}
export declare function configurationGenerator(tree: Tree, options: CypressE2EConfigSchema): Promise<GeneratorCallback>;
export declare function configurationGeneratorInternal(tree: Tree, options: CypressE2EConfigSchema): Promise<GeneratorCallback>;
export default configurationGenerator;
//# sourceMappingURL=configuration.d.ts.map