ionic-team / ionic-team/ionic-cli
Capacitor is now forcibly installed on starter projects
還沒有人認領這個 Issue。
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 681
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Description:
There used to be a prompt to add capacitor to a new project created using the starter templates, but that option no longer is shown and it's added by default to all projects whether you want it or not. For web based projects, Capacitor isn't needed. Sure, it's easy enough to remove it afterwards, but a bit of a pain and all the dependencies are installed too, so really have to delete node_modules and reinstall from scratch to fully remove it. Same behavior using the new wizard on the web too.
Steps to Reproduce:
Run ionic start, pick Angular, pick and template, and capacitor is added without any prompt
My ionic info:
Ionic:
Ionic CLI : 6.17.0
Utility:
cordova-res : 0.15.3
native-run (update available: 1.4.0) : 1.3.0
System:
NodeJS : v14.17.4
npm : 6.14.14
OS : macOS Big Sur
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先使用 ionic start 重現此行為,選取 Angular 和一個 starter template,接著追蹤 starter-project generation flow 以及相應的 web wizard path。完成標準是再次提供 Capacitor 選項,且 web projects 除非選取該選項,否則不會安裝 Capacitor 或其相依套件。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, typescript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100