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

15 lines (14 loc) 572 B
import { type Tree } from '@nx/devkit'; type ReactDependenciesVersions = { react: string; 'react-dom': string; 'react-is': string; '@types/react': string; '@types/react-dom': string; '@types/react-is': string; }; export declare function getReactDependenciesVersionsToInstall(tree: Tree): Promise<ReactDependenciesVersions>; export declare function isReact18(tree: Tree): Promise<boolean>; export declare function getInstalledReactVersion(tree: Tree): string; export declare function getInstalledReactVersionFromGraph(): Promise<string>; export {};