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

Commit 625d24d

Browse files
fix dependencies after repo renaming
1 parent 2032fda commit 625d24d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Inside the project folder run:
3333
- `nvm use 10.22.1;` - to use npm version: 10.22.1
3434
- `npm i` - install dependencies
3535
- `npm run dev` - run app in `development` mode and `dev` config, currently it is using the config from `default.js`
36-
- 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:8008/earn-app/topcoder-micro-frontends-earn-app.js`.
36+
- 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:8008/earn-app/topcoder-micro-frontends-earn-app.js`.
3737

3838
## Local Setup for adding a new MFE
39-
1. The setup is assuming you have setup the `micro-frontends-frame` and `micro-frontends-nav-app`. And this is also assuming your have a new MFE named `another-app` and your local url is `http://localhost:8099/another-app/topcoder-micro-frontends-another-app.js`
39+
1. The setup is assuming you have setup the `mfe-core` and `micro-frontends-nav-app`. And this is also assuming your have a new MFE named `another-app` and your local url is `http://localhost:8099/another-app/topcoder-micro-frontends-another-app.js`
4040

4141
2. You have launched existing `micro-frontends-challenges-app` and `micro-frontends-gigs-app` in your local envrionment.
4242

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44
import React, { useLayoutEffect, useEffect, useRef } from "react";
55
import { Router, useLocation, Redirect } from "@reach/router";
6-
import { disableSidebarForRoute } from "@topcoder/micro-frontends-navbar-app";
6+
import { disableSidebarForRoute } from "@topcoder/mfe-header";
77
import _ from "lodash";
88
import { usePreviousLocation } from "./utils/hooks";
99
import Parcel from "single-spa-react/parcel";

src/utils/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import _ from "lodash";
2-
import { getAuthUserTokens, login } from "@topcoder/micro-frontends-navbar-app";
2+
import { getAuthUserTokens, login } from "@topcoder/mfe-header";
33

44
export async function isLoggedIn() {
55
const { tokenV3, tokenV2 } = await getAuthUserTokens();

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = (webpackConfigEnv) => {
3636
// we have to list here all the microapps which we would like to use in imports
3737
// so webpack doesn't tries to import them
3838
externals: {
39-
"@topcoder/micro-frontends-navbar-app": "@topcoder/micro-frontends-navbar-app",
39+
"@topcoder/mfe-header": "@topcoder/mfe-header",
4040
"react": "react",
4141
"react-dom": "react-dom",
4242
},

0 commit comments

Comments
 (0)