## Current Behavior We currently have no support for React 19, generating only React 18 applications. ## Expected Behavior Add utils to determine what version of React is installed in the workspace. If React 18 is the main version of react installed, continue to generate React 18 projects. If React 19 is the main version of react installed, generate React 19 projects. If no React version is installed or can be determined, generate React 19 projects.
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"name": "@nx/react",
|
|
"version": "0.0.1",
|
|
"private": false,
|
|
"description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nrwl/nx.git",
|
|
"directory": "packages/react"
|
|
},
|
|
"keywords": [
|
|
"Monorepo",
|
|
"React",
|
|
"Web",
|
|
"Jest",
|
|
"Cypress",
|
|
"CLI",
|
|
"Front-end"
|
|
],
|
|
"main": "./index",
|
|
"typings": "./index.d.ts",
|
|
"author": "Victor Savkin",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/nrwl/nx/issues"
|
|
},
|
|
"homepage": "https://nx.dev",
|
|
"executors": "./executors.json",
|
|
"generators": "./generators.json",
|
|
"ng-update": {
|
|
"requirements": {},
|
|
"migrations": "./migrations.json"
|
|
},
|
|
"dependencies": {
|
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
"@svgr/webpack": "^8.0.1",
|
|
"file-loader": "^6.2.0",
|
|
"minimatch": "9.0.3",
|
|
"picocolors": "^1.1.0",
|
|
"tslib": "^2.3.0",
|
|
"@nx/devkit": "file:../devkit",
|
|
"@nx/js": "file:../js",
|
|
"@nx/eslint": "file:../eslint",
|
|
"@nx/web": "file:../web",
|
|
"@nx/module-federation": "file:../module-federation",
|
|
"express": "^4.19.2",
|
|
"http-proxy-middleware": "^3.0.3",
|
|
"semver": "^7.6.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|