@module-federation/devtools 0.3.2 → 0.3.4

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.
@@ -132,7 +132,12 @@ class DependencyGraph {
132
132
  );
133
133
  graphChilden.forEach((dep) => {
134
134
  this.addEdge(id + dep, id, id + dep);
135
- this.run(targetGraph[targetWithoutType], dep, type, id + dep);
135
+ this.run(
136
+ targetGraph[targetWithoutType] || targetGraph[target],
137
+ dep,
138
+ type,
139
+ id + dep
140
+ );
136
141
  });
137
142
  }
138
143
  identify() {
@@ -155,7 +155,12 @@ class DependencyGraph {
155
155
  );
156
156
  graphChilden.forEach((dep) => {
157
157
  this.addEdge(id + dep, id, id + dep);
158
- this.run(targetGraph[targetWithoutType], dep, type, id + dep);
158
+ this.run(
159
+ targetGraph[targetWithoutType] || targetGraph[target],
160
+ dep,
161
+ type,
162
+ id + dep
163
+ );
159
164
  });
160
165
  }
161
166
  identify() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/devtools",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "files": [
5
5
  "dist/",
6
6
  "install-deps.bash",
@@ -38,7 +38,7 @@
38
38
  "react": "~18.2.0",
39
39
  "react-dom": "~18.2.0",
40
40
  "reactflow": "11.10.4",
41
- "@module-federation/sdk": "0.3.2"
41
+ "@module-federation/sdk": "0.3.4"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/dagre": "^0.7.52",
@@ -61,7 +61,7 @@
61
61
  "vitest": "1.2.2",
62
62
  "@modern-js/storybook": "2.46.1",
63
63
  "@storybook/addon-essentials": "^8",
64
- "@module-federation/runtime": "0.3.2"
64
+ "@module-federation/runtime": "0.3.4"
65
65
  },
66
66
  "scripts": {
67
67
  "build:storybook": "storybook build",