ionic-team / ionic-team/ionic-cli

Global CLI Required

Aperta
#4,422 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
triage
Lingua principale
TypeScript
Stelle
2k
Fork
682
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently Ionic requires a bunch of things to be installed globally.
This pattern seems to be very error prone and counter productive.

I run a consultancy company that deals with multiple applications at once running different versions of Ionic (3, 4, 5).
Depending on the version of the CLI you need different dependencies (cordova-res, native-run, cordova, ...).

Ionic should install these dependencies locally so developers can use `npx ` without requiring ANY globally installed packages.

This already currently works to a certain degree, i have an Ionic 3 and 4 project that have everything installed locally and work fine.

This should be the accepted pattern going forward though in order to make this framework more future proof and less frustrating for devs needing to support multiple applications running multiple versions.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.