Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[rush] Refactor actions to async load all complex dependencies

Offen
#5,636 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
cli, tooling

Rechercherichtung

Start by locating the various Rush CommandLineAction subclasses and their executeAsync methods. Check how the command-line parser, --help, and tab-complete paths load these actions; done means parameter definitions remain synchronously available while each action's business logic is moved behind an async executor import.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Summary

Refactor the various CommandLineAction subclasses in Rush so that the only logic synchronously included in the class is the definitions of the CLI parameters, and the actual business logic of the class is in an async imported executor.

The purpose of the exercise is to optimize the initial generation of the command line parser and the --help and tab-complete actions, as well as to remove large, complex dependencies from the loading path for actions that don't require them.

The executeAsync method should read values from the CLI arguments, then const { fooExecutor } = await import(/* webpackChunkName: 'foo-executor' */ './FooExecutor.js') then invoke the executor.

Vorherrschende Sprache
TypeScript
Sterne
6.5k
Forks
708
Ø Merge
4 T. 7 Std.
Gemergte PRs (30 T.)
61

Entwicklungsumgebung

Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/rushstack

Alle Issues in microsoft/rushstack

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.