Commit Graph

139 Commits

Author SHA1 Message Date
ccccly
8889f643de Add cleanup when download is interrupted by user. 2017-03-05 16:44:37 +08:00
Corey Butler
37c72c70c4 Added support for ignoring SSL validation. Fixed availability list. 2017-02-22 15:32:54 -06:00
Kyle Wuolle
7c45600072 wildcard major version to latest X.y..z
added check in install function so that if only the major version number is specified, the latest version of that will be installed

fixes 214
2016-11-06 12:09:44 -08:00
antxgit
8a673b24b4 Better parsing of settings.
Replacing prefix only if is in head of line.

Tested using below
nvm proxy http://username:password@cchproxy:8080 & nvm proxy

nvm proxy username:password@cchproxy:8080 & nvm proxy
nvm proxy http://proxy:10080 & nvm proxy
nvm proxy http://proxy:proxy@proxy:10080 & nvm proxy
nvm proxy proxy:10080 & nvm proxy

concerning  https://github.com/coreybutler/nvm-windows/issues/186
2016-10-27 10:31:58 -05:00
Corey Butler
fd7f7baf73 Merge pull request #218 from bblanchon/fix-swap-32-64
Fix "nvm use" swapping node32 and node64 even when not need (issue #134)
2016-10-27 10:27:48 -05:00
MizardX
d85935f2e1 Fix 32-bit message
Show message when requesting a 64-bit version that is only installed as
32-bit. Mirroring what is shown when requesting a 32-bit version that is
only installed as 64-bit.
2016-10-27 10:26:51 -05:00
Benoit Blanchon
902c41c6e0 Fix "nvm use" swapping node32 and node64 even when not need 2016-10-27 14:23:37 +02:00
Corey Butler
2c6ed843eb Added support for vX.X.X and removed option to open prompt after install. 2016-07-01 20:03:55 -05:00
Corey Butler
7a4544317a Cleaned up PR's, added formatting for ls, updated installer to 1.1.1 2016-07-01 19:34:56 -05:00
Corey Butler
a5053d2b1f Remove ToLower()
Fixes #90.
2016-06-04 15:49:28 -05:00
lijie371
5c8ace2e44 add npm/nodejs proxy support 2016-05-11 10:22:18 +08:00
Frederico Silva
d786051dd1 list available: show LTS and STABLE
load versions from https://nodejs.org/download/release/index.json
2016-04-24 12:31:03 +02:00
lijie371
39a1bea387 add node_mirror and npm_mirror config 2016-04-07 19:34:31 +08:00
Patrick Sullivan
0bc5644af4 fix: node v4 support works
fix: 'install latest' works
fix: current version arch works
2015-09-30 11:46:02 -07:00
Michael-Rainabba Richardson
85d8e9a21b Restructure to deal with new node release structure at http://nodejs.org/dist/
This is untested because the build chain isn't one I'm prepared to deal with.
2015-09-19 10:40:18 -07:00
Yong Zhao
1c398a4486 fix issues related to showing the arch of installed node 2015-08-04 15:07:36 -04:00
Eddie Huang
a1f6d41657 use new temp directory for npm
download and unzip npm in a temp directory under the nvm root. fix issue
#46
2015-03-19 19:02:04 +09:00
Romuald R.
ee3854475a Updated arch recognition for Windows 8.1 2015-03-14 20:15:34 +01:00
rahulroy9202
8603d35cb7 now checks if input version is greater than latest 2015-03-03 20:34:35 +05:30
rahulroy9202
e6fdca74b9 now checks if input version is greater than latest 2015-03-03 20:26:58 +05:30
rahulroy9202
b4b809c9cd now checks if input version is greater than latest 2015-03-03 19:29:21 +05:30
rahulroy9202
0265573bc6 now checks if input version is greater than latest 2015-03-03 19:22:07 +05:30
Corey Butler
494d7f506f Version bump 2014-10-23 14:12:25 -05:00
Corey Butler
d92e0b82de Updated settings file to use NVM_HOME env var. 2014-10-23 14:11:01 -05:00
Corey Butler
20cf5aeeb7 Added ls->list and v->version aliases. 2014-10-15 13:38:03 -05:00
Corey Butler
304b58eb59 Fixed typo in help message 2014-10-15 13:16:22 -05:00
Corey Butler
af6827bcff Added architecture support 2014-10-15 12:56:09 -05:00
Corey Butler
c302a3120d Removed incomplete option. 2014-10-12 10:46:07 -05:00
Corey Butler
d69b29a21d Added support for listing last 15 releases available. Closes #11. 2014-10-07 15:57:09 -05:00
Corey Butler
9f346bcd6d Added missing function for setting architecture. Completes issue #5. 2014-10-04 12:49:29 -05:00
Corey Butler
404bb7bab4 Added proxy support. Closes issue #5 2014-10-03 13:41:16 -05:00
Corey Butler
dbb7a10fb3 Fixed version architecture detection 2014-10-02 23:57:06 -05:00
Corey Butler
54dab4eb18 Refactored. Added 32/64-bit switching 2014-10-02 17:47:33 -05:00
Corey Butler
f6d31c78db Moved helper commands to bin directory for easier build process. 2014-09-26 11:41:54 -05:00
Corey Butler
a8a04173e7 Added isVersionAvailable(). Fixes and closes #1. 2014-09-24 20:41:28 -05:00
Corey Butler
f355b501b6 Finished list command, removed 'available' feature (unnecessary) 2014-09-23 00:36:24 -05:00
Corey Butler
8e6cecd638 Fixed symlink issues and added a settings file 2014-09-22 22:27:21 -05:00
Corey Butler
70d972c1e7 Initial Code 2014-09-21 00:19:18 -05:00
Corey Butler
57103a3c92 Initial skeleton 2014-09-20 12:06:25 -05:00