Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 7562e41

Browse files
fix dependencies after repo renaming
1 parent 61cd461 commit 7562e41

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Inside the project folder run:
3030

3131
- `npm i` - install dependencies
3232
- `npm run dev` - run app in development mode
33-
- As this app can be loaded only inside a frame single-spa, you have to run a `micro-frontends-frame` frame app and configure it to use the URL `http://localhost:8500/topcoder-micro-frontends-react-app.js`.
33+
- As this app can be loaded only inside a frame single-spa, you have to run a `mfe-core` frame app and configure it to use the URL `http://localhost:8500/topcoder-micro-frontends-react-app.js`.
3434

3535
## Deployment to Production
3636

src/components/AuthDemo/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
logout,
66
getAuthUserTokens,
77
getAuthUserProfile,
8-
} from "@topcoder/micro-frontends-navbar-app";
8+
} from "@topcoder/mfe-header";
99

1010
const Profile = ({ authUserProfile }) => (
1111
<>

src/components/NoSidebarDemo/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import React, { useLayoutEffect } from "react";
77
import {
88
disableSidebarForRoute,
99
enableSidebarForRoute,
10-
} from "@topcoder/micro-frontends-navbar-app";
10+
} from "@topcoder/mfe-header";
1111

1212
const COMPONENT_ROUTE = "/micro-frontends-react-route/no-sidebar/*";
1313

src/root.component.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
setAppMenu,
55
setNotificationPlatform,
66
PLATFORM,
7-
} from "@topcoder/micro-frontends-navbar-app";
7+
} from "@topcoder/mfe-header";
88
import appMenu from "./constants/appMenu";
99
import AuthDemo from "./components/AuthDemo";
1010
import NoSidebarDemo from "./components/NoSidebarDemo";

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = (webpackConfigEnv) => {
1616
// we have to list here all the microapps which we would like to use in imports
1717
// so webpack doesn't tries to import them
1818
externals: {
19-
"@topcoder/micro-frontends-navbar-app":
20-
"@topcoder/micro-frontends-navbar-app",
19+
"@topcoder/mfe-header":
20+
"@topcoder/mfe-header",
2121
},
2222
output: {
2323
path: path.resolve(__dirname, 'dist'),

0 commit comments

Comments
 (0)