angular / angular/angular-cli

List available projects in a workspace - `ng projects`

Open
#23,482 8 comments 21 reactions 0 assignees View on GitHub
area: @angular/cli feature feature: under consideration
Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
14h 23m
Merged PRs (30d)
162

Description

# 🚀 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.

Contributor guide

Open the contributing guide

Research direction

Start by examining how the Angular CLI reads the current workspace's angular.json and how existing commands are registered. Compare the proposed `ng projects` and `ng ls` entry points, then verify that the chosen command lists every available workspace project and explains how each can be used.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.