UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

37 lines 1.55 kB
import type { Tree } from '@nx/devkit'; import type { GeneratorOptions } from '../../schema'; import type { Logger, MigrationProjectConfiguration, ValidationResult } from '../../utilities'; import { ProjectMigrator } from './project.migrator'; type SupportedTargets = 'e2e'; export declare class E2eMigrator extends ProjectMigrator<SupportedTargets> { private lintTargetName; private appConfig; private appName; private isProjectUsingEsLint; private cypressPreset; constructor(tree: Tree, options: GeneratorOptions, project: MigrationProjectConfiguration, lintTargetName: string | undefined, logger?: Logger); migrate(): Promise<void>; validate(): ValidationResult; private initialize; private migrateProtractorE2eProject; private migrateCypressE2eProject; private updateOrCreateCypressConfigFile; private updateCypressProjectConfiguration; private updateE2eCypressTarget; private cypressConfigGlobToNewGlob; private cypressConfigSrcPathToNewPath; private cypressConfigDistPathToNewPath; private updateCypressConfigFile; private updateCypressComponentConfig; private updateCypressE2EConfig; private updateCypressConfigNodeValue; private isValidPathLikePropertyWithStringLiteralValue; private normalizeNodeText; private getOldCypressConfigFilePath; private getDefaultCypressConfigFilePath; private findCypressConfigFilePath; private isCypressE2eProject; private isProtractorE2eProject; } export {}; //# sourceMappingURL=e2e.migrator.d.ts.map