Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Ionic should not install all dependencies unless instructed to

オープン
#5,032 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
cli

調査の方向性

ionic start コマンドのエントリーポイントから開始し、npm install がどこで呼び出されるか、また依存関係をスキップするオプションがどのように処理されるかを追跡します。プロジェクト生成と依存関係のインストール動作に関する既存の CLI テストを確認します。要求された分離が明確に仕様化され、既存の skip-dependencies の動作を含めてテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

triage

I would like to point out that it is unfortunate that the ionic start command automatically executes the npm install command to install all npm dependencies. Given also that the options for skipping dependencies does not work

In my opinion, the command's main purpose should be to generate code, not handle dependency installation. It would be more in line with the single responsibility principle if the command focused solely on code generation.

Running npm install is a simple command that we can manually execute after generating the project. I mention this because the automatic execution of npm install during ionic start can significantly increase the execution time, especially on slow networks. This can be frustrating, especially when we need to run the command multiple times to explore different templates or options.

It's important to note that generating code does not necessarily mean that we will immediately execute it. Separating the dependency installation step from the code generation step would provide more flexibility and control over the development process

主要言語
TypeScript
スター
2k
フォーク
681
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/ionic-cli のほかの issue

ionic-team/ionic-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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