ionic-team / ionic-team/ionic-cli

Capacitor is now forcibly installed on starter projects

Đang mở
#4,750 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reproducing the behavior with `ionic start`, selecting Angular and a starter template, then trace the starter-project generation flow and the corresponding web wizard path. Done means the Capacitor choice is presented again and web projects do not install Capacitor or its dependencies unless selected.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.