ionic-team / ionic-team/angular-toolkit

chore: Friendly error text when routes are not found

Offen
#491 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
73
Forks
34
Ø Merge
6 Min.
Gemergte PRs (30 T.)
5

Beschreibung

Currently, when in Standalone configuration and Route is not found, the following error is displayed

> Could not find your routes file. Use the skip-import option to skip importing.

The toolkit knows if a route file is a route file if the naming convention matches /.routes\.ts/. However, the file name can be changed at will. So, how about adding a sentence to the error statement such as "routes files are detected based on whether they match /.routes\.ts/"?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Search the codebase for the exact error text "Could not find your routes file" and inspect the standalone route-file detection path. Update the message to explain that route files are detected by the /.routes\.ts/ naming convention, then run the relevant existing tests if available to verify the wording.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

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