ionic-team / ionic-team/ionic-cli

feat: provide support for other package manager like pnpm or yarm

オープン
#5,123 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
triage
主要言語
TypeScript
スター
2k
フォーク
682
PR マージ指標
30日以内にマージされた PR はありません

説明

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already include this feature request, without success.

### Describe the Feature Request

I'm on a Linux system and for me NPM now take forever to install packages and sometimes just halts for minutes.

So I have switched to using 'pnpm' and I would like to be able to create a ionic project where pnpm is used as my package manager.

Ionic CLI is hardcoded to use 'npm' even when I've made an alias for 'npm' as 'pnpm' on my Linux system. As a result npm just hangs creating an ionic project.

### Describe the Use Case

Creating a new project and or general package management.

### Describe Preferred Solution

Just provide a switch to set the package manager, I suggest:

```sh
---pnpm
--yarm
```

Better yet just discover if 'pnpm' or 'yarn' are already install on the system and default to use one of them.

### Describe Alternatives

_No response_

### Related Code

_No response_

### Additional Information

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。