ionic-team / ionic-team/ionic-cli

Global dependency installs for virtual environment

未關閉
#4,687 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

triage
主要語言
TypeScript
星號
2k
分支
681
PR 合併指標
30 天內沒有已合併 PR

描述

I know it's not really the done thing, but I use a virtual environment ([nodeenv](https://github.com/ekalinin/nodeenv)) for my projects, and would very much like to have the option not to have a `/node_modules` folder, but instead have required packages installed with the global flag. This would actually install them to my virtual environment.

Is there a way of doing this? If not, could the option be added?

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 提到了 nodeenv、/node_modules 和全域套件安裝,但沒有指出任何 Ionic CLI 檔案或測試。先找出 CLI 的相依性安裝入口和現有的選項涵蓋範圍;完成條件是提供一個有文件說明的選項,將必要的套件安裝到虛擬環境中,並為該行為加入測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
node.js, typescript
領域
cli
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。