aidenybai / aidenybai/react-grab

Add option to silence version check warning

Offen
#293 1 Kommentar 7 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
7.6k
Forks
340
Ø Merge
5 Std. 12 Min.
Gemergte PRs (30 T.)
6

Beschreibung

The version check in `log-intro.ts` logs a warning to the console whenever a newer version is published on npm ([link](https://github.com/aidenybai/react-grab/blob/dedd82d5bec23856c60bbd86ff867366e503563e/packages/react-grab/src/core/log-intro.ts#L24)).

Would it be possible to add an opt-out — e.g. a `skipVersionCheck` option on the init/config, or an env var like `REACT_GRAB_SKIP_VERSION_CHECK` — for projects that pin versions intentionally or run in environments where the noise is undesirable?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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