diff --git a/micro-ui/web/lerna.json b/micro-ui/web/lerna.json index 23b204dc476..357e622959a 100644 --- a/micro-ui/web/lerna.json +++ b/micro-ui/web/lerna.json @@ -8,7 +8,12 @@ "packages/components", "packages/svg-components", "packages/microplan", - "packages/campaign" + "packages/campaign", + "packages/hrms", + "packages/workbench", + "packages/pgr", + "packages/engagement", + "packages/dss" ], "command": { "run": { diff --git a/micro-ui/web/package.json b/micro-ui/web/package.json index 8a15d188256..4f973ff2dd0 100644 --- a/micro-ui/web/package.json +++ b/micro-ui/web/package.json @@ -26,7 +26,12 @@ "packages/components", "packages/svg-components", "packages/microplan", - "packages/campaign" + "packages/campaign", + "packages/hrms", + "packages/workbench", + "packages/pgr", + "packages/engagement", + "packages/dss" ], "scripts": { "build": "yarn lerna run build", diff --git a/micro-ui/web/packages/core/src/utils/registerRemotes.js b/micro-ui/web/packages/core/src/utils/registerRemotes.js index c0db0d82c86..a691a55b7fa 100644 --- a/micro-ui/web/packages/core/src/utils/registerRemotes.js +++ b/micro-ui/web/packages/core/src/utils/registerRemotes.js @@ -85,16 +85,16 @@ export default (queryClient) => { }, }); - registerApplication({ - name: "Common", - app: () => import("common/CommonModule"), - activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here - customProps: { - title: "Common Module is running on host", - queryClient, - userType - }, - }); + // registerApplication({ + // name: "Common", + // app: () => import("common/CommonModule"), + // activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here + // customProps: { + // title: "Common Module is running on host", + // queryClient, + // userType + // }, + // }); registerApplication({ name: "Dss", diff --git a/micro-ui/web/packages/core/webpack.dev.js b/micro-ui/web/packages/core/webpack.dev.js index 8ecaaeb2cb3..09351edc742 100644 --- a/micro-ui/web/packages/core/webpack.dev.js +++ b/micro-ui/web/packages/core/webpack.dev.js @@ -39,13 +39,13 @@ module.exports = () => { new ModuleFederationPlugin({ name: "core", remotes: { - // hrms: "hrms@https://localhost:8085/remoteEntry.js", - // workbench: "workbench@https://localhost:8086/remoteEntry.js", + hrms: "hrms@https://localhost:8085/remoteEntry.js", + workbench: "workbench@https://localhost:8086/remoteEntry.js", // // common:"common@https://localhost:8090/remoteEntry.js", - // pgr:"pgr@https://localhost:8087/remoteEntry.js", + pgr:"pgr@https://localhost:8087/remoteEntry.js", // // dss: "dss@https://localhost:8088/remoteEntry.js", - // dss: "dss@https://localhost:8088/remoteEntry.js", - // engagement: "engagement@https://localhost:8091/remoteEntry.js", + dss: "dss@https://localhost:8088/remoteEntry.js", + engagement: "engagement@https://localhost:8091/remoteEntry.js", microplan:"microplan@https://localhost:8099/remoteEntry.js", // tqm: "tqm@https://localhost:8089/remoteEntry.js", // app1: "app1@https://localhost:8001/remoteEntry.js", diff --git a/micro-ui/web/packages/core/webpack.prod.js b/micro-ui/web/packages/core/webpack.prod.js index 36a447ba619..feb1fefbbe2 100644 --- a/micro-ui/web/packages/core/webpack.prod.js +++ b/micro-ui/web/packages/core/webpack.prod.js @@ -16,7 +16,7 @@ module.exports = () => { name: "core-digit-ui", remotes: { hrms: `hrms@${domain}/hrms-ui/remoteEntry.js`, - common: `common@${domain}/common-ui/remoteEntry.js`, + // common: `common@${domain}/common-ui/remoteEntry.js`, pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`, workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`, dss : `dss@${domain}/dss-ui/remoteEntry.js`,