aidenybai / aidenybai/react-grab

Add option to silence version check warning

Abierto
#293 1 comentario 7 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
7.6k
Forks
340
Merge medio
5 h 12 min
PR fusionados (30 d)
6

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.