Azure / Azure/static-web-apps-cli
Investigate using pre-installed func core tools rather than downloading to user home dir
- 主要言語
- TypeScript
- スター
- 668
- フォーク
- 156
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Is your feature request related to a problem? Please describe.**
Downloading the func core tools binary is bloating user disk space under $HOME/.swa/core-tools/$FUNC_VERSION
**Describe the solution you'd like**
In the scenario where it is already installed, we should check if core tools is already available on the user's machine and use that rather than downloading to the home directory
**Describe alternatives you've considered**
We can also consider using the minified releases of core tools which will take up less space in the user's home dir
**Additional context**
Changes should be made in this file: https://github.com/Azure/static-web-apps-cli/blob/main/src/core/func-core-tools.ts
コントリビューションガイド
調査の方向性
src/core/func-core-tools.ts から始めて、CLI が func core tools バイナリをどのように見つけ、ダウンロードし、呼び出しているかを追跡します。既存のインストールパスを確認し、すでに利用可能なインストールがある場合の動作を定義するとともに、minified-release の代替案も検討します。$HOME/.swa/core-tools/$FUNC_VERSION に別のコピーをダウンロードせず、利用可能な事前インストール済みバイナリが使用されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100