Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Progress indication for schematics

未关闭
#12,479 3 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
angular, typescript
领域
cli, tooling

调研方向

首先跟踪 ng update 期间使用的 TSLintFixTask,并检查 schematics 当前如何报告活动。定义可配置进度指示器的范围,以及 issue 中描述的更广泛的 schematics 状态报告范围;完成后应使长时间运行的修复直观地显示为处于活动状态,并在可能的情况下识别正在运行的 schematic。

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

描述

area: @angular-devkit/schematics area: @angular/cli feature feature: votes required ng update DX

Since the TSLintFixTask can take a lot of time (e.g. if used to apply source code transformations for ng-update), it would be nice to have a progress indicator that shows that "something" actually runs.

For example: if someone runs ng update @angular/material@next, it's not clear for a period of time that the fix task actually "runs". See: https://github.com/angular/material2/issues/12774.

An option that can be specified when configuring the TSlintFixTask would be nice to have. The option would then show a simple progress indicator while TSLint runs.


Ideally there would be a way for a schematic to:

  • Have an progress-spinner with a name of the schematic currently running
  • Report a status (similar to how Bazel repository_ctx can report statuses)

Nowadays a lot of schematics need to run as part of an ng update and it would be helpful to know what schematic currently runs / what it currently does (if known)

cc. @jelbourn

主要语言
TypeScript
星标
27k
派生
11.8k
平均合并
16 小时 35 分钟
30 天内合并 PR
176

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

angular/angular-cli 的其他 Issue

查看 angular/angular-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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