angular / angular/angular-cli

Promote standalone component helpers to public API

未关闭
#24,204 1 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
area: @schematics/angular
主要语言
TypeScript
星标
27k
派生
11.8k
平均合并
14 小时 23 分钟
30 天内合并 PR
162

描述

### 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_

贡献指南

打开贡献指南

调研方向

从提交 e895fc7c1012796442cb7a4a3b9b3a0ec3845b0e 开始,检查从 CDK 移至 schematics 包的独立辅助函数。确定 private 部分如何暴露它们,然后验证这些辅助函数是否被视为 public API;如果该包有相关 coverage,则更新或添加它。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。