* Add support for auto, reading version from .node-version
* Make version unique in tests
* Add support for auto doing a lookup for unresolved version
* Make auto description more consistent in style with other labels.
* First cut at --preserve (npm)
* Add documentation for --preserve
* Add --preserve test
* Extend help section to include --no-preserve
* Bump version
* Prepare CHANGELOG for release
* bin/n: Port auto-xz feature from nvh
Includes platform/feature detection to guess if the user has
the ability to decompress xz tarballs using `tar`.
Doesn't attempt to fetch/decompress xz tarballs
for Node versions less than 4. (KISS).
The feature is set up to use xz instead of gz by default,
but the default behavior is easily configurable.
Co-authored-by: John Gee <john@ruru.gen.nz>
* documentation: Add documentation for auto-xz
* CHANGELOG.md: Copy xz entry from the nvh changelog
Copied and pasted from here:
https://github.com/shadowspawn/nvh/blob/master/CHANGELOG.md
* README.md: Copy xz info from docs at nvh repo
Copied and pasted from here:
https://github.com/shadowspawn/nvh/blob/master/docs/environment-variables.md
("NVH" changed to "N" as appropriate.)
Co-authored-by: John Gee <john@ruru.gen.nz>
Co-authored-by: John Gee <john@ruru.gen.nz>
- always install
- log when install from cache
- show same output installing from menu as from command line
- show diagnostics is installed version not active version