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 摘要。