You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if I could define version ranges instead of exact versions, e.g. 4.x or ^4.3.1. It is probably best to use npm syntax for these ranges.
specifically, it would be awesome if nodeenv could take a version range and only install a full nodeenv if the system-provided one doesn't satisfy the version requirement...
Activity
dev-zero commentedon Jan 11, 2021
specifically, it would be awesome if nodeenv could take a version range and only install a full nodeenv if the system-provided one doesn't satisfy the version requirement...
jstucke commentedon May 2, 2024
It would be nice for scripting the installation if requirement specifiers were supported (like for pip packages) for specifying nodejs/npm versions:
Furthermore, it would also be nice to be able to just specify the major (and optionally minor) version (to install the latest one that matches):
You can easily hack something together to script this, e.g.
but it would be nice if nodeenv could do this for you
feat(nodeenv): accept semver ranges in --node. fixes #152
feat(nodeenv): accept npm-style semver ranges in --node (#393)