smapiot / piral

🚀 Framework for next generation web apps using micro frontends. ⭐️ Star to support our work!
https://piral.io
MIT License
1.68k stars 125 forks source link

Check Version of Inherited Dependencies #635

Closed FlorianRappl closed 11 months ago

FlorianRappl commented 11 months ago

New Feature Proposal

For more information, see the CONTRIBUTING guide.

Description

Inherited dependencies (via an importmap) should be checked by the pilets when commands from the piral-cli are run.

Background

Right now the CLI displays an info when an inherited dependency is unused / not installed. This is fine, but we should also go one step further - what if we installed a different version locally than the centrally shared one? If not excluded we should warn the user (as this might behave differently).

Discussion

Should we have an option of ignoring or error-ing out on demand?