@nx/react 20.0.4 → 20.0.6

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/migrations.json CHANGED
@@ -139,6 +139,19 @@
139
139
  "alwaysAddToPackageJson": false
140
140
  }
141
141
  }
142
+ },
143
+ "20.1.0": {
144
+ "version": "20.1.0-beta.0",
145
+ "packages": {
146
+ "eslint-plugin-react-hooks": {
147
+ "version": "5.0.0",
148
+ "alwaysAddToPackageJson": false
149
+ },
150
+ "eslint-plugin-jsx-a11y": {
151
+ "version": "6.10.1",
152
+ "alwaysAddToPackageJson": false
153
+ }
154
+ }
142
155
  }
143
156
  }
144
157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "20.0.4",
3
+ "version": "20.0.6",
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": {
@@ -39,10 +39,10 @@
39
39
  "picocolors": "^1.1.0",
40
40
  "tslib": "^2.3.0",
41
41
  "@module-federation/enhanced": "0.6.6",
42
- "@nx/devkit": "20.0.4",
43
- "@nx/js": "20.0.4",
44
- "@nx/eslint": "20.0.4",
45
- "@nx/web": "20.0.4",
42
+ "@nx/devkit": "20.0.6",
43
+ "@nx/js": "20.0.6",
44
+ "@nx/eslint": "20.0.6",
45
+ "@nx/web": "20.0.6",
46
46
  "express": "^4.19.2",
47
47
  "http-proxy-middleware": "^3.0.0"
48
48
  },
@@ -2,8 +2,6 @@
2
2
  import { Component } from 'react';
3
3
  <% } if (!minimal) { %>
4
4
  import NxWelcome from "./nx-welcome";
5
- <% } if (bundler === "rspack") { %>
6
- import '../styles.css';
7
5
  <% } %>
8
6
 
9
7
  <% if (classComponent) { %>
@@ -43,6 +43,7 @@ async function createApplicationFiles(host, options) {
43
43
  offsetFromRoot: (0, devkit_1.offsetFromRoot)(options.appProjectRoot),
44
44
  appTests,
45
45
  inSourceVitestTests: (0, get_in_source_vitest_tests_template_1.getInSourceVitestTestsTemplate)(appTests),
46
+ style: options.style === 'tailwind' ? 'css' : options.style,
46
47
  };
47
48
  if (options.bundler === 'vite') {
48
49
  (0, devkit_1.generateFiles)(host, (0, path_1.join)(__dirname, '../files/base-vite'), options.appProjectRoot, templateVariables);
@@ -19,7 +19,7 @@
19
19
  "name": {
20
20
  "type": "string",
21
21
  "description": "The name of the remote application to generate the Module Federation configuration",
22
- "pattern": "^[a-zA-Z][^:]*$",
22
+ "pattern": "^[a-zA-Z_$][a-zA-Z_$0-9]*$",
23
23
  "x-priority": "important"
24
24
  },
25
25
  "dynamic": {
@@ -23,9 +23,9 @@ export declare const testingLibraryReactVersion = "15.0.6";
23
23
  export declare const reduxjsToolkitVersion = "1.9.3";
24
24
  export declare const reactReduxVersion = "8.0.5";
25
25
  export declare const eslintPluginImportVersion = "2.31.0";
26
- export declare const eslintPluginJsxA11yVersion = "6.7.1";
26
+ export declare const eslintPluginJsxA11yVersion = "6.10.1";
27
27
  export declare const eslintPluginReactVersion = "7.35.0";
28
- export declare const eslintPluginReactHooksVersion = "4.6.0";
28
+ export declare const eslintPluginReactHooksVersion = "5.0.0";
29
29
  export declare const babelPluginStyledComponentsVersion = "1.10.7";
30
30
  export declare const tsLibVersion = "^2.3.0";
31
31
  export declare const postcssVersion = "8.4.38";
@@ -28,9 +28,9 @@ exports.testingLibraryReactVersion = '15.0.6';
28
28
  exports.reduxjsToolkitVersion = '1.9.3';
29
29
  exports.reactReduxVersion = '8.0.5';
30
30
  exports.eslintPluginImportVersion = '2.31.0';
31
- exports.eslintPluginJsxA11yVersion = '6.7.1';
31
+ exports.eslintPluginJsxA11yVersion = '6.10.1';
32
32
  exports.eslintPluginReactVersion = '7.35.0';
33
- exports.eslintPluginReactHooksVersion = '4.6.0';
33
+ exports.eslintPluginReactHooksVersion = '5.0.0';
34
34
  exports.babelPluginStyledComponentsVersion = '1.10.7';
35
35
  exports.tsLibVersion = '^2.3.0';
36
36
  exports.postcssVersion = '8.4.38';