angular / angular/components

ng-update: consult workspace configuration for determining global stylesheets

オープン
#24,032 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: ng-update P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

This is a port of COMP-280 and for just for tracking at this point!

Currently, ng-update always finds global/external stylesheets that need to be migrated by simply
querying for `.css` or `.scss` files in the workspace tree.

This is not ideal since it can mean that non-project files are accidentally migrated. Ideally, we'd just
consult the `angular.json` file to look for `styles`. This makes the logic more future-proof (and avoids issues as in: #18434).

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

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

調査の方向性

グローバルおよび外部のスタイルシートを検出する ng-update のロジックを追跡することから始め、続いて angular.json の workspace 設定とその styles エントリを調べます。完了条件は、スタイルシートの移行が workspace 内のすべての .css または .scss ファイルではなく、プロジェクトに対して宣言された styles に限定されていることです。この issue では、テストファイルも特定のソースエントリポイントも指定されていません。

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

評価

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

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

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