ionic-team / ionic-team/ionic-cli

Global CLI Required

Đang mở
#4,422 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.