Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#19,567 2 comentarios 23 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
angular, typescript
Área
cli, tooling

Línea de trabajo

Comience por los puntos de entrada de los comandos ng build, ng test y ng lint e inspeccione cómo se emite actualmente su salida. Dé por terminado el trabajo cuando los tres comandos admitan una opción --silent que suprima la salida cuando la ejecución sea correcta, conserve los errores y cuente con cobertura de comandos que confirme este comportamiento.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
27k
Forks
11.8k
Merge medio
16 h 35 min
PR fusionados (30 d)
176

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de angular/angular-cli

Todos los issues de angular/angular-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.