devcontainers / devcontainers/features

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

Open
#1,365 1 comment 3 reactions 1 assignee Claimed by @v-Mathiyarasy View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
621
Avg merge
2d 11h
Merged PRs (30d)
4

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.