Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#19,567 コメント 2 件 リアクション 23 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
angular, typescript
領域
cli, tooling

調査の方向性

ng build、ng test、ng lint コマンドのエントリポイントから始めて、それらの出力が現在どのように出力されているかを確認してください。3 つすべてのコマンドで --silent オプションをサポートし、成功時の出力を抑制しながらエラーは保持し、コマンドのカバレッジでその動作を確認できることを完了条件とします。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
16時間 35分
マージ済み PR(30日)
176

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。