Skip to content

Releases: nodenv/nodenv-aliases

v2.0.2

30 Mar 19:16
1a8ec8a
Compare
Choose a tag to compare

v2.0.1

30 May 16:13
Compare
Choose a tag to compare

Fixes the auto-aliasing of major and pre-release versions that is triggered by the install/uninstall hooks.

v2.0.0

30 May 13:37
Compare
Choose a tag to compare

Major Version Auto-Aliasing

With this release, nodenv alias --auto will create aliases for each major version installed (in addition to the previous behavior of aliases for each minor version installed). Major version aliases can also be created individually via nodenv alias 4 --auto. Of course, all major-version aliases will be kept up to date as nodes are installed/uninstalled.

Codename Aliases

With support for major versions, it is now trivial to create aliases for the LTS codenames. These must still be created manually (for the moment; feel free to chime in at #12 for how this might be handled automatically). Example: nodenv alias argon 4 or nodenv alias boron 6.

Pre-release Auto-Aliasing

Also in this release, aliases can automatically be created for pre-release versions. However, due to the flexibility of the pre-release component, auto-aliasing is only supported for pre-releases that follow the node and npm convention of x.y.z-<alpha>.<num>. For instance, given nodes 8.0.0-rc.0, 8.0.0-rc.1 and 8.0.0-rc.2; nodenv alias --auto would create the alias 8.0.0-rc for 8.0.0-rc.0.