aidenybai / aidenybai/react-grab

Add option to silence version check warning

Aperta
#293 1 commento 7 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
7.6k
Fork
340
Merge medio
5h 12m
PR unite (30g)
6

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.