@nx/react 20.0.0-canary.20240928-f221a41 → 20.0.0-canary.20241001-8fa7065

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "20.0.0-canary.20240928-f221a41",
3
+ "version": "20.0.0-canary.20241001-8fa7065",
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
  "file-loader": "^6.2.0",
39
39
  "minimatch": "9.0.3",
40
40
  "tslib": "^2.3.0",
41
- "@module-federation/enhanced": "~0.6.0",
42
- "@nx/devkit": "20.0.0-canary.20240928-f221a41",
43
- "@nx/js": "20.0.0-canary.20240928-f221a41",
44
- "@nx/eslint": "20.0.0-canary.20240928-f221a41",
45
- "@nx/web": "20.0.0-canary.20240928-f221a41",
41
+ "@module-federation/enhanced": "0.6.6",
42
+ "@nx/devkit": "20.0.0-canary.20241001-8fa7065",
43
+ "@nx/js": "20.0.0-canary.20241001-8fa7065",
44
+ "@nx/eslint": "20.0.0-canary.20241001-8fa7065",
45
+ "@nx/web": "20.0.0-canary.20241001-8fa7065",
46
46
  "express": "^4.19.2",
47
47
  "http-proxy-middleware": "^3.0.0"
48
48
  },
@@ -111,9 +111,9 @@
111
111
  },
112
112
  "unitTestRunner": {
113
113
  "type": "string",
114
- "enum": ["jest", "vitest", "none"],
114
+ "enum": ["vitest", "jest", "none"],
115
115
  "description": "Test runner to use for unit tests.",
116
- "default": "jest"
116
+ "default": "vitest"
117
117
  },
118
118
  "inSourceTests": {
119
119
  "type": "boolean",
@@ -124,6 +124,7 @@ async function libraryGeneratorInternal(host, schema) {
124
124
  skipFormat: true,
125
125
  testEnvironment: 'jsdom',
126
126
  addPlugin: options.addPlugin,
127
+ compiler: options.compiler,
127
128
  });
128
129
  tasks.push(vitestTask);
129
130
  createOrEditViteConfig(host, {
@@ -83,7 +83,8 @@
83
83
  },
84
84
  "unitTestRunner": {
85
85
  "type": "string",
86
- "enum": ["jest", "vitest", "none"],
86
+ "enum": ["vitest", "jest", "none"],
87
+ "default": "vitest",
87
88
  "description": "Test runner to use for unit tests.",
88
89
  "x-prompt": "What unit test runner should be used?"
89
90
  },
@@ -37,7 +37,7 @@ export declare const isbotVersion = "^3.6.5";
37
37
  export declare const corsVersion = "~2.8.5";
38
38
  export declare const typesCorsVersion = "~2.8.12";
39
39
  export declare const moduleFederationNodeVersion = "~2.5.0";
40
- export declare const moduleFederationEnhancedVersion = "~0.6.0";
40
+ export declare const moduleFederationEnhancedVersion = "0.6.6";
41
41
  export declare const lessVersion = "3.12.2";
42
42
  export declare const sassVersion = "^1.55.0";
43
43
  export declare const rollupPluginUrlVersion = "^8.0.2";
@@ -43,7 +43,7 @@ exports.isbotVersion = '^3.6.5';
43
43
  exports.corsVersion = '~2.8.5';
44
44
  exports.typesCorsVersion = '~2.8.12';
45
45
  exports.moduleFederationNodeVersion = '~2.5.0';
46
- exports.moduleFederationEnhancedVersion = '~0.6.0';
46
+ exports.moduleFederationEnhancedVersion = '0.6.6';
47
47
  // style preprocessors
48
48
  exports.lessVersion = '3.12.2';
49
49
  exports.sassVersion = '^1.55.0';