Skip to content

Commit

Permalink
added all pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Jul 9, 2024
1 parent 09f59fc commit 273ffa2
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 18 deletions.
7 changes: 6 additions & 1 deletion micro-ui/web/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
7 changes: 6 additions & 1 deletion micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
20 changes: 10 additions & 10 deletions micro-ui/web/packages/core/src/utils/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions micro-ui/web/packages/core/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/packages/core/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit 273ffa2

Please sign in to comment.