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

46 lines (43 loc) 1.14 kB
import type { Linter, LinterType } from '@nx/eslint'; import type { SupportedStyles } from '../../../typings/style'; export interface Schema { appProject?: string; buildable?: boolean; bundler?: 'none' | 'rollup' | 'vite'; compiler?: 'babel' | 'swc'; component?: boolean; directory: string; globalCss?: boolean; importPath?: string; inSourceTests?: boolean; js?: boolean; linter: Linter | LinterType; name?: string; publishable?: boolean; routing?: boolean; setParserOptionsProject?: boolean; skipFormat?: boolean; skipPackageJson?: boolean; skipTsConfig?: boolean; strict?: boolean; style: SupportedStyles; tags?: string; unitTestRunner?: 'jest' | 'vitest' | 'none'; minimal?: boolean; simpleName?: boolean; addPlugin?: boolean; useProjectJson?: boolean; } export interface NormalizedSchema extends Schema { js: boolean; name: string; fileName: string; projectRoot: string; routePath: string; parsedTags: string[]; importPath: string; appMain?: string; appSourceRoot?: string; unitTestRunner: 'jest' | 'vitest' | 'none'; isUsingTsSolutionConfig?: boolean; }