UNPKG

@nx/react

Version:

The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook. - Generators for applica

41 lines (38 loc) 1.07 kB
import type { Linter, LinterType } from '@nx/eslint'; import type { SupportedStyles } from '../../../typings/style'; export interface Schema { classComponent?: boolean; compiler?: 'babel' | 'swc'; devServerPort?: number; directory: string; e2eTestRunner: 'cypress' | 'playwright' | 'none'; globalCss?: boolean; js?: boolean; linter: Linter | LinterType; name?: string; remotes?: string[]; enableTypedLinting?: boolean; /** * @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24. */ setParserOptionsProject?: boolean; skipFormat?: boolean; skipNxJson?: boolean; skipPackageJson?: boolean; ssr?: boolean; strict?: boolean; style: SupportedStyles; tags?: string; unitTestRunner: 'jest' | 'vitest' | 'none'; minimal?: boolean; typescriptConfiguration?: boolean; dynamic?: boolean; addPlugin?: boolean; bundler?: 'rspack' | 'webpack'; } export interface NormalizedSchema extends Schema { appProjectRoot: string; e2eProjectName: string; projectName: string; addPlugin?: boolean; }