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

Commit afc3472

Browse files
fix dependencies after repo renaming
1 parent 5132f50 commit afc3472

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Inside the project folder run:
2727

2828
- `npm i` - install dependencies
2929
- `npm run dev` - run app in development mode
30-
- 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:4200/main.js`.
30+
- 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:4200/main.js`.
3131

3232
## Deployment to Production
3333

extra-webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ module.exports = (config, options) => {
66
// we have to list here all the microapps which we would like to use in imports
77
// so webpack doesn't tries to import them
88
singleSpaWebpackConfig.externals = {
9-
'@topcoder/micro-frontends-navbar-app':
10-
'@topcoder/micro-frontends-navbar-app',
9+
'@topcoder/mfe-header':
10+
'@topcoder/mfe-header',
1111
};
1212

1313
// Feel free to modify this webpack config however you'd like to

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit } from '@angular/core';
2-
import { setAppMenu, setNotificationPlatform, PLATFORM } from '@topcoder/micro-frontends-navbar-app';
2+
import { setAppMenu, setNotificationPlatform, PLATFORM } from '@topcoder/mfe-header';
33
import appMenu from './constants/appMenu';
44

55
@Component({

src/app/auth-demo/auth-demo.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
logout,
55
getAuthUserTokens,
66
getAuthUserProfile,
7-
} from '@topcoder/micro-frontends-navbar-app';
7+
} from '@topcoder/mfe-header';
88

99
@Component({
1010
selector: 'tc-ex-auth-demo',

src/app/no-sidebar-demo/no-sidebar-demo.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Component, OnInit } from '@angular/core';
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-angular-route/no-sidebar/*";
1313

src/typings.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module '@topcoder/micro-frontends-navbar-app' {
1+
declare module '@topcoder/mfe-header' {
22
export const login: any;
33
export const logout: any;
44
export const setAppMenu: any;

0 commit comments

Comments
 (0)