0liver
3cbd0f7b11
Update error message when missing version argument
...
Also added a dots to the end of a few log messages.
2022-01-17 13:01:27 +01:00
coreybutler
0f2fcaccde
Auto-expand partial versions for install command. Resolves #706 .
2021-12-15 20:06:31 -06:00
coreybutler
f792f4ec5e
Version bump
2021-12-10 12:36:36 -06:00
coreybutler
a0cdde9971
Add alt admin check - currently removed by tree shaking, but left for reference.
2021-12-10 12:19:01 -06:00
coreybutler
997759ebee
Add partial version matching for using latest INSTALLED version. Resolves #683 .
2021-12-09 13:34:12 -06:00
coreybutler
c8f25ce17f
Use proxy value from settings. Resolves #670 .
2021-12-08 15:04:09 -06:00
coreybutler
5751e53159
Added code-signing capability. Also updated aliases to elevate command when needed (issue #700 )
2021-12-07 17:00:12 -06:00
coreybutler
c4a157cad3
Abstract version extraction into its own method. This will help with issue #691
2021-11-12 17:36:06 -06:00
Corey Butler
7646a541d0
Update nvm.go
...
Updated link to available versions. Closes #688 .
2021-11-12 17:07:28 -06:00
Crhistian Ramirez
eec8beeeb0
Fix broken link to nodejs versions
...
Nodejs must have updated their URLs
2021-10-10 13:35:08 -04:00
coreybutler
a8958b3fe5
fixed merge conflicts
2021-09-11 01:13:13 -05:00
coreybutler
957b21615d
Include support for auto-expanding versions
2021-09-11 00:38:06 -05:00
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
coreybutler
b4877abc22
Updated support for env var expansion
2021-09-11 00:26:09 -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
coreybutler
a973fbe1b1
Added support for npm use newest, latest, and lts
2021-09-11 00:23:10 -05:00
coreybutler
5e45db8d66
Update support for nvm current
2021-09-10 23:59:52 -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
coreybutler
52bd95e073
Add 'nvm install lts' option. Closes #623 . Closes #402 . Closes #394 .
2021-09-10 23:35:00 -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
coreybutler
71097afb40
Updated inline help to accurately indicate the 'latest' tag installs the latest current version. Fixes #653
2021-09-10 22:54:32 -05:00
coreybutler
9f93b4cf6d
Convert to Go modules, add v.1.1.8 notes
2021-09-10 22:45:54 -05:00
coreybutler
7fc4a989d0
Refactor to support Go modules
2021-09-10 15:52:55 -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
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
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