@nx/react 20.4.0-canary.20250107-cb4a93e → 20.4.0-canary.20250109-0edd110

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2017-2024 Narwhal Technologies Inc.
3
+ Copyright (c) 2017-2025 Narwhal Technologies Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "20.4.0-canary.20250107-cb4a93e",
3
+ "version": "20.4.0-canary.20250109-0edd110",
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": "20.4.0-canary.20250107-cb4a93e",
42
- "@nx/js": "20.4.0-canary.20250107-cb4a93e",
43
- "@nx/eslint": "20.4.0-canary.20250107-cb4a93e",
44
- "@nx/web": "20.4.0-canary.20250107-cb4a93e",
45
- "@nx/module-federation": "20.4.0-canary.20250107-cb4a93e",
41
+ "@nx/devkit": "20.4.0-canary.20250109-0edd110",
42
+ "@nx/js": "20.4.0-canary.20250109-0edd110",
43
+ "@nx/eslint": "20.4.0-canary.20250109-0edd110",
44
+ "@nx/web": "20.4.0-canary.20250109-0edd110",
45
+ "@nx/module-federation": "20.4.0-canary.20250109-0edd110",
46
46
  "express": "^4.19.2",
47
47
  "http-proxy-middleware": "^3.0.3"
48
48
  },
package/plugins/jest.js CHANGED
@@ -16,17 +16,12 @@ module.exports = {
16
16
  module.exports = {
17
17
  __esModule: true,
18
18
  default: ${assetFilename},
19
- ReactComponent: React.forwardRef(function ${componentName}(props, ref) {
20
- return {
21
- $$typeof: Symbol.for('react.element'),
22
- type: 'svg',
23
- ref: ref,
24
- key: null,
25
- props: Object.assign({}, props, {
26
- children: ${assetFilename}
27
- })
28
- };
29
- }),
19
+ ReactComponent: function ${componentName}(props) {
20
+ return React.createElement(
21
+ 'svg',
22
+ Object.assign({}, props, { children: ${assetFilename} })
23
+ );
24
+ },
30
25
  };`,
31
26
  };
32
27
  }
@@ -35,8 +35,8 @@ export declare const typesExpressVersion = "4.17.17";
35
35
  export declare const isbotVersion = "^3.6.5";
36
36
  export declare const corsVersion = "~2.8.5";
37
37
  export declare const typesCorsVersion = "~2.8.12";
38
- export declare const moduleFederationNodeVersion = "~2.6.11";
39
- export declare const moduleFederationEnhancedVersion = "0.7.6";
38
+ export declare const moduleFederationNodeVersion = "^2.6.21";
39
+ export declare const moduleFederationEnhancedVersion = "^0.8.8";
40
40
  export declare const lessVersion = "3.12.2";
41
41
  export declare const sassVersion = "^1.55.0";
42
42
  export declare const rollupPluginUrlVersion = "^8.0.2";
@@ -40,8 +40,8 @@ exports.typesExpressVersion = '4.17.17';
40
40
  exports.isbotVersion = '^3.6.5';
41
41
  exports.corsVersion = '~2.8.5';
42
42
  exports.typesCorsVersion = '~2.8.12';
43
- exports.moduleFederationNodeVersion = '~2.6.11';
44
- exports.moduleFederationEnhancedVersion = '0.7.6';
43
+ exports.moduleFederationNodeVersion = '^2.6.21';
44
+ exports.moduleFederationEnhancedVersion = '^0.8.8';
45
45
  // style preprocessors
46
46
  exports.lessVersion = '3.12.2';
47
47
  exports.sassVersion = '^1.55.0';