ng-update: consult workspace configuration for determining global stylesheets
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
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).
Beitragsleitfaden
Rechercherichtung
Beginne damit, die ng-update-Logik nachzuverfolgen, die globale und externe Stylesheets ermittelt, und untersuche anschließend die Workspace-Konfiguration in angular.json sowie deren styles-Einträge. Als erledigt gilt die Aufgabe, wenn die Stylesheet-Migration auf die für Projekte deklarierten Styles beschränkt ist und nicht auf jede .css- oder .scss-Datei im Workspace; das Issue nennt keine Testdatei und keinen spezifischen Source-Einstiegspunkt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100