angular / angular/angular-cli

List available projects in a workspace - `ng projects`

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

描述

# 🚀 Feature request

### Command (mark with an `x`)

- [X] projects

### Description

In large Angular monorepo workspaces, it can sometimes be non-obvious to discover all the available projects which can be built. We should consider a new command (`ng projects`, `ng ls`, etc.) which lists all the projects in the current workspace. This can help new developers in workspace figure out exactly what they want to work on and how to do it.

### Describe alternatives you've considered

Workaround is to introspect the `angular.json` file, which is not obvious or easy to do, especially for a new developer.

贡献指南

打开贡献指南

调研方向

首先检查 Angular CLI 如何读取当前工作区的 angular.json,以及现有命令如何注册。比较提议的 `ng projects` 和 `ng ls` 入口点,然后验证所选命令会列出工作区中的每个可用项目,并说明每个项目可以如何使用。

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

评估

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

把新 issue 发到你的邮箱

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