Corey Butler
f57d93c52d
Merge branch 'master' into dev
2021-09-11 00:36:45 -05:00
Corey Butler
a631d9554f
Merge pull request #531 from rcknight/patch-1
...
Fix major version check
2021-09-11 00:29:07 -05:00
Corey Butler
4489e4ee8f
Merge pull request #632 from Progressive-Insurance/master
...
Read Environment Variables in Settings.txt
2021-09-11 00:24:13 -05:00
Corey Butler
bd7bfa9c1f
Merge pull request #512 from EEJesse/add-support-for-use-latest
...
add support for "use latest"
2021-09-10 23:59:04 -05:00
Corey Butler
97391292ff
Merge pull request #569 from riazXrazor/support-for-nvm-current
...
add support for nvm current command
2021-09-10 23:44:17 -05:00
Corey Butler
226fd8c4ec
Merge pull request #469 from tats-u/support-lts-install
...
Support `nvm install lts`
2021-09-10 23:25:56 -05:00
a059225
9a6e372867
added env expansion
2021-03-09 14:40:32 -05:00
Riaz Laskar
40ae5103ea
add support for nvm current command as the linux nvm has that its missing in windows version
2020-09-28 22:46:08 +05:30
Rich Knight
a09143f1f8
Fix major version check
...
There is existing functionality which is supposed to allow you to specify a major version e.g `nvm install 9` and have it install the latest v9. This was just checking the length of version is 1, which means `nvm install 10` installs `10.0.0`. I've changed this to check if the string contains no `.`, which (I think?) is a more reasonable approach which will work for future versions.
2020-04-14 10:45:10 +01:00
Coffee Converter
932ab921ee
Fixes url to the complete list of nodejs downloads
2020-03-20 04:07:50 -05:00
Jesse
65cd7e5755
add support for "use latest"
2020-02-14 15:21:09 +01:00
himself65
d20c7d0ead
Fixes load settings.txt
2020-02-09 21:38:51 +08:00
Corey Butler
88353cfcea
Update nvm.go
2019-12-27 09:04:15 -06:00
Tatsunori Uchino
223f636fb7
Support nvm install lts
2019-08-12 19:17:00 +09:00
Isak Hjertenes Vik
42fd4a63db
Uses correct path when moving npm from temp folder to node_modules + error handling
2019-02-01 17:07:08 +01:00
Corey Butler
72754b3c33
Updated build tools. Now supports links to elevate.cmd and elevate.vbs when using nvm root ( fixes #381 ).
2018-08-29 21:44:05 -05:00
Corey Butler
d76598d214
Merge branch 'master' of github.com:coreybutler/nvm-windows
2018-08-11 20:09:07 -05:00
Corey Butler
9fb1b77d38
Merge pull request #253 from jeffrson/master
...
Make sure file handle to 'node.exe' is closed after scanning for bytes
2018-08-11 20:07:40 -05:00
Corey Butler
dfd8e5a7fb
Simplified build to leverage version number from generated executable."
2018-08-11 19:59:39 -05:00
Corey Butler
be7f20a68d
Merge branch 'master' into master
2018-08-11 18:53:17 -05:00
Corey Butler
943cae19c4
Fixed line endings
2018-08-11 18:32:30 -05:00
Andreas Opferkuch
ebdd4d986f
Fixes #41 - Issue with blank spaces in path
...
Forgot some uses of exec.Command() outside of the "use" command.
2018-08-03 18:55:12 +02:00
Andreas Opferkuch
44a2e1ddbe
Fixes #41 - Issue with blank spaces in path
...
exec.Command() can't handle spaces, even when quoted.
Command has to be modified using SysProcAttr.
See also:
https://github.com/golang/go/issues/15566
Plus: Minor refactoring - reordering of functions, more consistent capitalization, sorting of imports and whatnot.
2018-08-03 18:55:12 +02:00
Corey Butler
256d69427b
Updated URLs to support npm >= 6.2.0. Applied several PR's. Bumped to v1.1.7
2018-08-01 23:45:30 -05:00
Corey Butler
476e11d117
Merge pull request #222 from kylewuolle/issue-214
...
wildcard major version to latest X.y..z
2018-08-01 23:07:41 -05:00
Andreas Opferkuch
50cef2e6ae
Fixes #252 - Need to manually remove folder on nvm uninstall
...
File handle when checking the architecture of the node executable was left open.
2018-05-21 18:33:17 +02:00
Jake Chitel
a9ed9fa895
removed extraneous time.Sleep() call
2018-01-19 12:58:16 -06:00
Jake Chitel
1b9d9aa058
Added exponential backoff for copying npm installation
2018-01-19 12:49:27 -06:00
Corey Butler
ce756027a8
Added npx support. Closes #288
2017-07-21 00:09:54 -05:00
Corey Butler
c6c5d2abc1
Clean symlinks
2017-07-15 13:30:17 -05:00
Corey Butler
58d157c2d8
Use filepath.join to escape whitespace
2017-07-15 10:19:01 -05:00
Corey Butler
506a57d42e
filepath changes to resolve escaping issues.
2017-06-01 10:08:47 -05:00
Corey Butler
af79f5c207
Sort the output of installed versions using new semver library. Fixes #262 .
2017-05-31 09:53:52 -05:00
Corey Butler
472411ed65
Replaced semver and updated logic to support newer node versioning logic. Closes #276
2017-05-31 08:40:50 -05:00
Corey Butler
63828304cb
Fixes issue #268 .
2017-05-10 18:14:55 -05:00
Graren
e0fe490393
Fixed comparison in exceeds latest
...
Tiny fix, I'm sure it can be beautified or refactored
2017-05-10 16:14:06 -04:00
Ulf Jaenicke-Rößler
a7294e25c3
Make sure file handle to 'node.exe' is closed after scanning for bytes
2017-03-13 16:49:35 +01:00
Corey Butler
5a235cad46
Version bump to support mirror fixes and rollback support.
2017-03-08 10:26:21 -06:00
ccccly
0467ddd7d7
Fix nvm node_mirror, npm_mirror doesn't work issue.
2017-03-05 16:55:59 +08:00
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