@nx/module-federation 23.0.0-beta.12 → 23.0.0-beta.13
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/module-federation",
|
|
3
3
|
"description": "The Nx Plugin for Module Federation contains executors and utilities that support building applications using Module Federation.",
|
|
4
|
-
"version": "23.0.0-beta.
|
|
4
|
+
"version": "23.0.0-beta.13",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@module-federation/enhanced": "^2.3.3",
|
|
28
28
|
"@module-federation/node": "^2.7.21",
|
|
29
29
|
"@module-federation/sdk": "^2.1.0",
|
|
30
|
-
"@nx/devkit": "23.0.0-beta.
|
|
31
|
-
"@nx/js": "23.0.0-beta.
|
|
32
|
-
"@nx/web": "23.0.0-beta.
|
|
30
|
+
"@nx/devkit": "23.0.0-beta.13",
|
|
31
|
+
"@nx/js": "23.0.0-beta.13",
|
|
32
|
+
"@nx/web": "23.0.0-beta.13",
|
|
33
33
|
"@rspack/core": "1.6.8",
|
|
34
34
|
"express": "^4.21.2",
|
|
35
35
|
"http-proxy-middleware": "^3.0.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"webpack": "^5.101.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"nx": "23.0.0-beta.
|
|
41
|
+
"nx": "23.0.0-beta.13"
|
|
42
42
|
},
|
|
43
43
|
"nx-migrations": {
|
|
44
44
|
"migrations": "./migrations.json"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getDynamicMfManifestFile = getDynamicMfManifestFile;
|
|
4
|
-
const
|
|
4
|
+
const internal_1 = require("@nx/js/internal");
|
|
5
5
|
const fs_1 = require("fs");
|
|
6
6
|
const path_1 = require("path");
|
|
7
7
|
function getDynamicMfManifestFile(project, workspaceRoot) {
|
|
@@ -13,6 +13,6 @@ function getDynamicMfManifestFile(project, workspaceRoot) {
|
|
|
13
13
|
// at the old path.
|
|
14
14
|
return [
|
|
15
15
|
(0, path_1.join)(workspaceRoot, project.root, 'public/module-federation.manifest.json'),
|
|
16
|
-
(0, path_1.join)(workspaceRoot, (0,
|
|
16
|
+
(0, path_1.join)(workspaceRoot, (0, internal_1.getProjectSourceRoot)(project), 'assets/module-federation.manifest.json'),
|
|
17
17
|
].find((path) => (0, fs_1.existsSync)(path));
|
|
18
18
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getDependentPackagesForProject = getDependentPackagesForProject;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const
|
|
5
|
+
const internal_1 = require("@nx/js/internal");
|
|
6
6
|
const typescript_1 = require("./typescript");
|
|
7
7
|
function getDependentPackagesForProject(projectGraph, name) {
|
|
8
8
|
const { npmPackages, workspaceLibraries } = collectDependencies(projectGraph, name);
|
|
@@ -45,7 +45,7 @@ function getLibraryImportPath(library, projectGraph) {
|
|
|
45
45
|
buildLibsFromSource = process.env.NX_BUILD_LIBS_FROM_SOURCE === 'true';
|
|
46
46
|
}
|
|
47
47
|
const libraryNode = projectGraph.nodes[library];
|
|
48
|
-
let sourceRoots = [(0,
|
|
48
|
+
let sourceRoots = [(0, internal_1.getProjectSourceRoot)(libraryNode.data)];
|
|
49
49
|
if (!buildLibsFromSource && process.env.NX_BUILD_TARGET) {
|
|
50
50
|
const buildTarget = (0, devkit_1.parseTargetString)(process.env.NX_BUILD_TARGET, projectGraph);
|
|
51
51
|
sourceRoots = (0, devkit_1.getOutputsForTargetAndConfiguration)(buildTarget, {}, libraryNode);
|
|
@@ -5,7 +5,7 @@ exports.getRemotes = getRemotes;
|
|
|
5
5
|
exports.getModuleFederationConfig = getModuleFederationConfig;
|
|
6
6
|
const tslib_1 = require("tslib");
|
|
7
7
|
const devkit_1 = require("@nx/devkit");
|
|
8
|
-
const internal_1 = require("@nx/js/
|
|
8
|
+
const internal_1 = require("@nx/js/internal");
|
|
9
9
|
const find_matching_projects_1 = require("nx/src/utils/find-matching-projects");
|
|
10
10
|
const pc = tslib_1.__importStar(require("picocolors"));
|
|
11
11
|
const path_1 = require("path");
|