angular / angular/angular-cli

Promote standalone component helpers to public API

Đang mở
#24,204 1 bình luận 5 reaction 0 người được giao Xem trên GitHub
area: @schematics/angular
Ngôn ngữ chính
TypeScript
Star
27k
Fork
11.8k
Merge trung bình
14 giờ 23 phút
Pull request đã merge (30 ngày)
162

Mô tả

### Command

add

### Description

With https://github.com/angular/angular-cli/commit/e895fc7c1012796442cb7a4a3b9b3a0ec3845b0e a few standalone helpers were moved from the CDK to the schematics package. I am wondering why they were moved to a "private" section and aren't considered public API. Was this just because standalone components were still in developer preview at that time? Now that angular 15 is going to make standalone components stable could the helpers be moved outside the private section and be treated as public API?

### Describe the solution you'd like

With standalone components becoming stable these helpers should become public API as well.

### Describe alternatives you've considered

_No response_

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

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

Hướng nghiên cứu

Bắt đầu với commit e895fc7c1012796442cb7a4a3b9b3a0ec3845b0e và kiểm tra các helper độc lập được chuyển từ CDK sang package schematics. Xác định section private expose chúng như thế nào, sau đó xác minh rằng các helper được coi là public API và cập nhật hoặc bổ sung coverage liên quan nếu package có coverage đó.

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
tooling
Loại issue
Tính năng
Độ 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
38/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.