Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Add Version File Parsing, Make Versions Optional in use, install - #126

Merged
beeequeue merged 8 commits into
mainfrom
optional-versions
Jul 4, 2022
Merged

Add Version File Parsing, Make Versions Optional in use, install#126
beeequeue merged 8 commits into
mainfrom
optional-versions

Conversation

@beeequeue

Copy link
Copy Markdown
Owner

If a version is not specified for the use and install commands nvm-rust will look for and parse any files containing Node version specifications amd use that!

nvm-rust handles files containing ranges, unlike nvm.

e.g.

// package.json
{
  ...
  "engines": {
    "node": "^14.17"
  }
  ...
}

# Installs 14.19.3 as of the time of writing
$ nvm install

@beeequeue beeequeue added the enhancement New feature or request label Jul 4, 2022
@beeequeue beeequeue self-assigned this Jul 4, 2022
@beeequeue
beeequeue force-pushed the optional-versions branch from 3f3ca3e to e22360f Compare July 4, 2022 14:29
@beeequeue
beeequeue merged commit 5edc6cc into main Jul 4, 2022
@beeequeue
beeequeue deleted the optional-versions branch July 4, 2022 14:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant