devcontainers / devcontainers/features

Feature request for node: prefer version declared in `.nvmrc` or `.node-version` files if none is provided in configuration

Aperta
#1,365 1 commento 3 reazioni 1 assegnatario Rivendicata da @v-Mathiyarasy Vedi su GitHub
Lingua principale
Shell
Stelle
1.5k
Fork
621
Merge medio
6g 53m
PR unite (30g)
9

Descrizione

It's very common to find projects that declare the preferred Node.js version in a `.nvmrc` or `.node-version` file in the project root. There are many tools that look up for those files to set themselves up and this feature is not one of those, unfortunately.

It would be nice if this feature would try to define the desired version based on those files (in that order) if no version is provided via configuration before falling back to LTS.

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.