@shadowspawn/nvh
Advanced tools
Comparing version 9.4.0 to 9.5.0
@@ -10,2 +10,12 @@ # Changelog | ||
## [9.5.0] (2020-07-04) | ||
### Added | ||
- support for node support alias `supported` | ||
- `auto` support for: | ||
- `.node-version` | ||
- `.nvmrc` | ||
- `engines` field of `package.json` | ||
## [9.4.0] (2020-04-27) | ||
@@ -354,2 +364,4 @@ | ||
[Unreleased]: https://github.com/shadowspawn/nvh/compare/master...develop | ||
[9.5.0]: https://github.com/shadowspawn/nvh/compare/v9.4.0...shadowspawn:v9.5.0 | ||
[9.4.0]: https://github.com/shadowspawn/nvh/compare/v9.3.0...shadowspawn:v9.4.0 | ||
[9.3.0]: https://github.com/shadowspawn/nvh/compare/v9.2.0...shadowspawn:v9.3.0 | ||
@@ -356,0 +368,0 @@ [9.2.0]: https://github.com/shadowspawn/nvh/compare/v9.1.2...shadowspawn:v9.2.0 |
{ | ||
"name": "@shadowspawn/nvh", | ||
"description": "Node Version Helper. Easily install Node.js versions.", | ||
"version": "9.4.0", | ||
"version": "9.5.0", | ||
"author": "John Gee", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/shadowspawn/nvh", |
@@ -65,3 +65,3 @@ # Node Version Helper | ||
(You can also use `j` and `k` to navigate up or down without using arrows.) | ||
(You can also use <kbd>j</kbd> and <kbd>k</kbd> to navigate up or down without using arrows.) | ||
@@ -83,6 +83,2 @@ ## Specifying Node Versions | ||
There is a label to read the target version from a file, on the first line: | ||
- `auto`: read version from `.nvh-node-version` file | ||
There is support for release streams: | ||
@@ -92,8 +88,15 @@ | ||
These node support aliases may be used, although for now simply resolve to the latest matching version: | ||
These node support aliases may be used, although simply resolve to the latest matching version: | ||
- `active`, `lts_active`, `lts_latest`, `lts`, `current` | ||
- `lts`, `active`, `lts_active`, `lts_latest`, `supported`, `current` | ||
The last form is for specifying [other releases](https://nodejs.org/download) available using the name of the remote download folder optionally followed by the complete or incomplete version. | ||
There is an `auto` label to read the target version from a file in the current directory, or any parent directory. `nvh` looks for in order: | ||
- `.nvh-node-version`: version on first line | ||
- `.node-version`: version on first line | ||
- `.nvmrc`: version on first line | ||
- `package.json`: use `engines` field to determine compatible `node`. Requires an installed version of `node`, and uses `npx semver` to resolve complex ranges. | ||
The last version form is for specifying [other releases](https://nodejs.org/download) available using the name of the remote download folder optionally followed by the complete or incomplete version. For example: | ||
- `chakracore-release/latest` | ||
@@ -100,0 +103,0 @@ - `nightly` |
Sorry, the diff of this file is not supported yet
65244
214