@nx/react 21.6.3 → 21.6.5
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dynamic-federation.d.ts","sourceRoot":"","sources":["../../../../packages/react/mf/dynamic-federation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG,CACrC,UAAU,EAAE,MAAM,KACf,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAqB9B;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,wBAAwB,QAG5C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAEvE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"dynamic-federation.d.ts","sourceRoot":"","sources":["../../../../packages/react/mf/dynamic-federation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,wBAAwB,GAAG,CACrC,UAAU,EAAE,MAAM,KACf,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAqB9B;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,wBAAwB,QAG5C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAEvE;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,QAGxE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,gBAgB5E"}
|
package/mf/dynamic-federation.js
CHANGED
@@ -5,7 +5,7 @@ exports.setRemoteDefinitions = setRemoteDefinitions;
|
|
5
5
|
exports.setRemoteDefinition = setRemoteDefinition;
|
6
6
|
exports.loadRemoteModule = loadRemoteModule;
|
7
7
|
const url_helpers_1 = require("@nx/module-federation/url-helpers");
|
8
|
-
let remoteUrlDefinitions
|
8
|
+
let remoteUrlDefinitions;
|
9
9
|
let resolveRemoteUrl;
|
10
10
|
const remoteModuleMap = new Map();
|
11
11
|
const remoteContainerMap = new Map();
|
@@ -66,6 +66,7 @@ function setRemoteDefinitions(definitions) {
|
|
66
66
|
* ```
|
67
67
|
*/
|
68
68
|
function setRemoteDefinition(remoteName, remoteUrl) {
|
69
|
+
remoteUrlDefinitions ??= {};
|
69
70
|
remoteUrlDefinitions[remoteName] = remoteUrl;
|
70
71
|
}
|
71
72
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/react",
|
3
|
-
"version": "21.6.
|
3
|
+
"version": "21.6.5",
|
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,19 +38,19 @@
|
|
38
38
|
"minimatch": "9.0.3",
|
39
39
|
"picocolors": "^1.1.0",
|
40
40
|
"tslib": "^2.3.0",
|
41
|
-
"@nx/devkit": "21.6.
|
42
|
-
"@nx/js": "21.6.
|
43
|
-
"@nx/eslint": "21.6.
|
44
|
-
"@nx/web": "21.6.
|
45
|
-
"@nx/vite": "21.6.
|
46
|
-
"@nx/module-federation": "21.6.
|
47
|
-
"@nx/rollup": "21.6.
|
41
|
+
"@nx/devkit": "21.6.5",
|
42
|
+
"@nx/js": "21.6.5",
|
43
|
+
"@nx/eslint": "21.6.5",
|
44
|
+
"@nx/web": "21.6.5",
|
45
|
+
"@nx/vite": "21.6.5",
|
46
|
+
"@nx/module-federation": "21.6.5",
|
47
|
+
"@nx/rollup": "21.6.5",
|
48
48
|
"express": "^4.21.2",
|
49
49
|
"http-proxy-middleware": "^3.0.5",
|
50
50
|
"semver": "^7.6.3"
|
51
51
|
},
|
52
52
|
"devDependencies": {
|
53
|
-
"nx": "21.6.
|
53
|
+
"nx": "21.6.5"
|
54
54
|
},
|
55
55
|
"publishConfig": {
|
56
56
|
"access": "public"
|