How to build to publish at NPM
Update the package.json version
npm run build-publish
npm publish --access public
How to install yuno-payments/dashboard-api-mfe as dependency
In your mfe you have to install as normal package of npm
npm i @yuno-payments/dashboard-api-mfe
Make sure to remove module declaration in src/declarations.d.ts
Explanation of folders
src/constants
Place to put all constants that belong to the API MFE, such as API errors (e.g., Axios errors) and settings like the timeout constant in milliseconds. Do not place here any constants related to your MFE's business logic or anything else.
To publish
npm publish --access public