@nx/react 20.4.0-canary.20250101-8a841cd → 20.4.0-canary.20250108-7f2693a

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.20250101-8a841cd",
3
+ "version": "20.4.0-canary.20250108-7f2693a",
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.20250101-8a841cd",
42
- "@nx/js": "20.4.0-canary.20250101-8a841cd",
43
- "@nx/eslint": "20.4.0-canary.20250101-8a841cd",
44
- "@nx/web": "20.4.0-canary.20250101-8a841cd",
45
- "@nx/module-federation": "20.4.0-canary.20250101-8a841cd",
41
+ "@nx/devkit": "20.4.0-canary.20250108-7f2693a",
42
+ "@nx/js": "20.4.0-canary.20250108-7f2693a",
43
+ "@nx/eslint": "20.4.0-canary.20250108-7f2693a",
44
+ "@nx/web": "20.4.0-canary.20250108-7f2693a",
45
+ "@nx/module-federation": "20.4.0-canary.20250108-7f2693a",
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
  }