Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proxy configuration to enable communication for all microfrontends. #1459

Open
wants to merge 11 commits into
base: GDB-10373-workbench-single-spa
Choose a base branch
from

Conversation

boyan-tonchev
Copy link
Contributor

Add proxy configuration to enable communication for all microfrontends.

svilenvelikov and others added 10 commits June 26, 2024 14:03
* Upgrade of webpack to latest version 5 which we need as precondition for running module federation.

* Upgraded webpack and webpack-cli
* Upgraded all used webpack plugins and loaders

* Changed the legacy workbench to be single spa module

* Added build scripts

* Switch order of main and vendor bundles import as this affects the css order that is important.
Removed hardcoded rest url.

* Add some minor adjustments in formating and added test navigation links that work in different ways - these will be changed later.

---------

Co-authored-by: boyantonchev <[email protected]>
* Add shared api module to the project

* add the package.json with the updated start command

* Add installation script for the `api` module as well as a build script which is run in the postinstall phase.

* Changed the title in the index html.
Removed the single-spa/welcome application from the import map.
Moved the workbench-api application in the separate import map which is used for the shared stuff only.

* updated the package-lock.json
* Add navbar MF

* Register the navbar MF

* Fix legacy-workbench app mounting in proper place in the DOM. Previously it was attached to the body, now it is inside the main where the single spa includes it by default.

* Fix some style issues

* navbar project is added in the build, clean and install scripts

* Extract separate script for building the api module.
Fixed the legacy-workbench module initialization to prevent cyclic reinitialization of the workbench.
@boyan-tonchev boyan-tonchev force-pushed the GDB-10373-configure-proxy-for-all-microfrond-ends branch from c0b1810 to b0a3c2b Compare July 8, 2024 06:36
@boyan-tonchev boyan-tonchev force-pushed the GDB-10373-configure-proxy-for-all-microfrond-ends branch from b0a3c2b to e77f23e Compare July 8, 2024 06:59
@boyan-tonchev boyan-tonchev force-pushed the GDB-10373-workbench-single-spa branch from 991bb9b to 1e20cb7 Compare August 5, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants