I'd like to be able to push an npm package (or zip for simplicity) onto a server. The server would extract the contents into a subfolder, which is publicly available. The server would ideally also serve aggregated meta-information from package.json via a special rest interface so I can see what packages have been deployed and their met-information.The idea is to have a micro-frontend portal ask a server for all available apps.Does anyone know something that goes in that direction?I.e. the process would be:npm pack and publish to server. Then visit my-portal.com, which will request a list of all packages and their meta-information from above server and then depending on the url loads the content of the package that has meta-information specified to use this url/path.publishing should obviously be protected via some sort of credentials.Maybe a normal npm registry would suffice for this?Thanks in advance
Submitted July 16, 2019 at 06:28PM by Lus1to
No comments:
Post a Comment