angular / angular/angular-cli

List available projects in a workspace - `ng projects`

Offen
#23,482 8 Kommentare 21 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: @angular/cli feature feature: under consideration
Vorherrschende Sprache
TypeScript
Sterne
27k
Forks
11.8k
Ø Merge
14 Std. 23 Min.
Gemergte PRs (30 T.)
162

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, zu untersuchen, wie die Angular CLI die angular.json des aktuellen Workspace liest und wie bestehende Befehle registriert werden. Vergleiche die vorgeschlagenen Einstiegspunkte `ng projects` und `ng ls` und überprüfe anschließend, dass der ausgewählte Befehl jedes im Workspace verfügbare Projekt auflistet und erklärt, wie jedes davon verwendet werden kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
cli, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.