devcontainers / devcontainers/features

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

Offen
#1,365 1 Kommentar 3 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@v-Mathiyarasy arbeitet bereits daran.

Seit 30.5.2025.

Vorherrschende Sprache
Shell
Sterne
1.5k
Forks
622
Ø Merge
6 T. 53 Min.
Gemergte PRs (30 T.)
9

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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