Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add --silent option to ng build, test and lint

Aperta
#19,567 2 commenti 23 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
angular, typescript
Ambito
cli, tooling

Direzione di ricerca

Parti dai punti di ingresso dei comandi ng build, ng test e ng lint e analizza come viene attualmente emesso il loro output. Considera il lavoro completato quando tutti e tre i comandi supportano un’opzione --silent che sopprime l’output in caso di successo mantenendo gli errori, con una copertura dei comandi che confermi questo comportamento.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: @angular-devkit/build-angular feature feature: insufficient votes

🚀 Feature request

Add a --silent option to build, test and lint so that it only outputs errors.

Command (mark with an x)
  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc
Description

So the usecase for us is that we have a pre-push GIT hook that runs lint, test and build before allowing the push to go through. Our issue is that we have a rather large application and the output for test and build are quite massive. An ideal situation would be if neither of the commands output anything if they pass and only show the errors if they don't.
Another usecase where this could be useful is for PR-builds to deliver a small but relevant report.

Describe the solution you'd like

Add a --silent option that only output any potential error the command might come across.

Describe alternatives you've considered

Optionally: Add a --loglevel option so you could filter away depending on the level of your choice.

Lingua principale
TypeScript
Stelle
27k
Fork
11.8k
Merge medio
16h 35m
PR unite (30g)
176

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di angular/angular-cli

Tutte le issue di angular/angular-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.