ionic-team / ionic-team/ionic-cli

Global CLI Required

未关闭
#4,422 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。