Skip to content

Commit e1c1e9c

Browse files
fix: dashboard issues (module-federation#116)
1 parent abb9758 commit e1c1e9c

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

dashboard-example/app1/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
Button: "./src/Button",
3939
},
4040
// sharing code based on the installed version, to allow for multiple vendors with different versions
41-
shared: require("package.json").dependencies,
41+
shared: require("./package.json").dependencies,
4242
}),
4343
new HtmlWebpackPlugin({
4444
template: "./public/index.html",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"nested/*",
2222
"nextjs-sidecar/*",
2323
"version-discrepancy/*",
24+
"dashboard-example/*",
2425
"redux-reducer-injection/*",
2526
"angular-universal-ssr/*",
2627
"advanced-api/dynamic-remotes/*",

yarn.lock

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2672,6 +2672,20 @@
26722672
prop-types "^15.7.2"
26732673
react-is "^16.8.0"
26742674

2675+
"@module-federation/automatic-vendor-federation@^1.0.1":
2676+
version "1.0.1"
2677+
resolved "https://registry.yarnpkg.com/@module-federation/automatic-vendor-federation/-/automatic-vendor-federation-1.0.1.tgz#02e0852442684ae9fd34986a58ffa19748e23147"
2678+
integrity sha512-UMTIh4u/vaKLkaKnXunJrgXlIWXMaG7UYzkHgDVAsd66TVYmr1SnX8WC0rDhO3TTE+ohS2AOdoJQNcJPH5pwbQ==
2679+
2680+
"@module-federation/dashboard-plugin@@module-federation/dashboard-plugin":
2681+
version "1.1.0"
2682+
resolved "https://registry.yarnpkg.com/@module-federation/dashboard-plugin/-/dashboard-plugin-1.1.0.tgz#c1ad5ab6c4c30da60cbd3ef19e72d9986953cc5a"
2683+
integrity sha512-2OBVIBUfrO4NBMbF/ZhmVlIOh04vNV32VTcfq0NvR6BV1aMghO10hjfPL7PCGn4yVIgsGEhgVal0GdhbDSUOVA==
2684+
dependencies:
2685+
"@module-federation/automatic-vendor-federation" "^1.0.1"
2686+
flatted "^2.0.2"
2687+
node-fetch "^2.6.0"
2688+
26752689
"@mrmlnc/readdir-enhanced@^2.2.1":
26762690
version "2.2.1"
26772691
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
@@ -2713,6 +2727,7 @@
27132727

27142728
"@ngtools/webpack@file:angular-universal-ssr/patched_packages/_ngtools_webpack.tgz":
27152729
version "10.0.0-rc.0"
2730+
uid "726492aa150be5ce9e9465e7a75e6e52f1248a50"
27162731
resolved "file:angular-universal-ssr/patched_packages/_ngtools_webpack.tgz#726492aa150be5ce9e9465e7a75e6e52f1248a50"
27172732
dependencies:
27182733
"@angular-devkit/core" "10.0.0-rc.0+5.27d1200.with-local-changes"
@@ -7730,7 +7745,7 @@ flat-cache@^2.0.1:
77307745
rimraf "2.6.3"
77317746
write "1.0.3"
77327747

7733-
flatted@^2.0.0:
7748+
flatted@^2.0.0, flatted@^2.0.2:
77347749
version "2.0.2"
77357750
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
77367751
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
@@ -11333,7 +11348,7 @@ node-fetch-npm@^2.0.2:
1133311348
json-parse-better-errors "^1.0.0"
1133411349
safe-buffer "^5.1.1"
1133511350

11336-
node-fetch@2.6.0, node-fetch@^2.3.0, node-fetch@^2.5.0:
11351+
node-fetch@2.6.0, node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0:
1133711352
version "2.6.0"
1133811353
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
1133911354
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
@@ -16563,6 +16578,7 @@ webpack@5.0.0-beta.18, webpack@^5.0.0-beta.18:
1656316578

1656416579
"webpack@file:angular-universal-ssr/patched_packages/webpack-5.0.0-beta.16.tgz":
1656516580
version "5.0.0-beta.16"
16581+
uid e749f8255c400f98a4bf46c1d28a5bc107776dc4
1656616582
resolved "file:angular-universal-ssr/patched_packages/webpack-5.0.0-beta.16.tgz#e749f8255c400f98a4bf46c1d28a5bc107776dc4"
1656716583
dependencies:
1656816584
"@webassemblyjs/ast" "1.9.0"

0 commit comments

Comments
 (0)