@nx/react 21.1.2 → 21.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p style="text-align: center;">
2
2
  <picture>
3
3
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
4
- <img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
4
+ <img alt="Nx - Smart Repos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
5
5
  </picture>
6
6
  </p>
7
7
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  <hr>
22
22
 
23
- # Nx: Smart Monorepos · Fast CI
23
+ # Nx: Smart Repos · Fast Builds
24
24
 
25
25
  Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
26
26
 
@@ -64,5 +64,5 @@ npx nx@latest init
64
64
  - [Blog Posts About Nx](https://nx.dev/blog)
65
65
 
66
66
  <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
67
- width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
67
+ width="100%" alt="Nx - Smart Repos · Fast Builds"></a></p>
68
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "21.1.2",
3
+ "version": "21.2.0-beta.1",
4
4
  "private": false,
5
5
  "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.",
6
6
  "repository": {
@@ -38,11 +38,11 @@
38
38
  "minimatch": "9.0.3",
39
39
  "picocolors": "^1.1.0",
40
40
  "tslib": "^2.3.0",
41
- "@nx/devkit": "21.1.2",
42
- "@nx/js": "21.1.2",
43
- "@nx/eslint": "21.1.2",
44
- "@nx/web": "21.1.2",
45
- "@nx/module-federation": "21.1.2",
41
+ "@nx/devkit": "21.2.0-beta.1",
42
+ "@nx/js": "21.2.0-beta.1",
43
+ "@nx/eslint": "21.2.0-beta.1",
44
+ "@nx/web": "21.2.0-beta.1",
45
+ "@nx/module-federation": "21.2.0-beta.1",
46
46
  "express": "^4.21.2",
47
47
  "http-proxy-middleware": "^3.0.3",
48
48
  "semver": "^7.6.3"
@@ -32,6 +32,7 @@ async function installCommonDependencies(host, options) {
32
32
  }
33
33
  if (options.unitTestRunner && options.unitTestRunner !== 'none') {
34
34
  devDependencies['@testing-library/react'] = versions_1.testingLibraryReactVersion;
35
+ devDependencies['@testing-library/dom'] = versions_1.testingLibraryDomVersion;
35
36
  }
36
37
  const baseInstallTask = (0, devkit_1.addDependenciesToPackageJson)(host, dependencies, devDependencies);
37
38
  tasks.push(baseInstallTask);
@@ -187,6 +187,7 @@ async function libraryGeneratorInternal(host, schema) {
187
187
  export: true,
188
188
  routing: options.routing,
189
189
  js: options.js,
190
+ name: options.name,
190
191
  inSourceTests: options.inSourceTests,
191
192
  skipFormat: true,
192
193
  globalCss: options.globalCss,