Commit Graph

2151 Commits (fd412645ca7aed43937bf3018262e621b94908b1)

Author SHA1 Message Date
Xandor Schiefer eabd7ab13d
Respect previously nvm-loaded node version when sourcing 2016-11-14 19:18:24 +02:00
Jordan Harband b111436fde
[Tests] test `nvm install-latest-npm` on io.js v2 2018-06-06 22:49:56 -07:00
Spike Grobstein 9854928ba9
[New] `install.sh`: allow user to explicitly opt out of nvm adding the source string
this is done by checking if the user supplies `PROFILE=/dev/null` when running `install.sh`, the `nvm_detect_profile` function will not output any strings, causing `nvm_do_install` to skip adding `SOURCE_STR`.
2018-05-03 08:22:07 -07:00
Jordan Harband c50ea6f0a3
[shellcheck] quote variables in for loops to avoid unintentional expansion 2018-05-31 23:56:20 -07:00
Jordan Harband 628d4fac84
[shellcheck] use `{ …; }` instead of `(…)` to group test commands 2018-05-31 23:49:15 -07:00
Jordan Harband ef35bc4cb6
Merge pull request #1823 from SrHuevo/master
fix for .nvmrc script
2018-05-30 20:08:07 -04:00
SrHuevo d08d8607f5
fix for .nvmrc script 2018-05-30 09:02:29 +02:00
Jay Williams e7b53a01fd
Grammar update 2018-05-26 23:17:08 +01:00
Siddharth Sakhadeo b81c120e0c fix failing if check in autoload script 2018-05-25 15:33:42 -07:00
Jordan Harband 57ec311f53
[Fix] `ls-remote`: fix issues in zsh when using a mirror with a ton of entries
Merge pull request #1818 from adedomin/master
2018-05-24 14:08:20 -04:00
Jordan Harband 38b32c27f3
[Tests] update mock data 2018-05-23 23:48:50 -04:00
adedomin 7a5ff0d133
[Fix] `ls-remote`: fix issues in zsh when using a mirror with a ton of entries
Fixes #1813
2018-05-23 19:47:11 -04:00
Jordan Harband f5f029c409
[Fix] “unstable” alias: when there’s no “unstable” minors, output “N/A” 2018-05-24 12:23:02 -04:00
Jordan Harband c465a83518
[Tests] `nvm ls-remote`: add test for overly-large tab file 2018-05-23 23:48:04 -04:00
Peter Dave Hello 62ee7cf998
[Refactor] `bash_completion`: Improve coding style 2018-05-21 19:59:01 +08:00
Peter Dave Hello 113d807e5a
[New] Support `--no-progress` for `nvm install`
Closes #1079.
2017-03-10 01:07:16 +08:00
Jordan Harband 3fc7b737f5
[Fix] `install -s`: `zsh`: ensure `shwordsplit` opt is set
Fixes #1719.
2018-04-29 15:35:39 -07:00
Josh Sleeper 04c27e23fe
add --tags to git fetch in manual upgrade
facilitates older `git` fetching tags so that it can actually upgrade properly
2018-04-25 14:55:31 -07:00
Jordan Harband 592c0be195
Merge tag 'v0.33.11'
v0.33.11

Fixes
 - `nvm install-latest-npm`: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2
2018-04-25 13:26:19 -07:00
Jordan Harband 93990ab7da
v0.33.11 2018-04-25 13:25:35 -07:00
Jordan Harband 61c7b133f8
[Fix] `nvm install-latest-npm`: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2 2018-04-25 13:25:28 -07:00
Jordan Harband eb0a8442d8
[Fix] `nvm install-latest-npm`: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2 2018-04-25 10:08:41 -07:00
Jordan Harband a26ab88478
[Tests] fix `nvm install-latest-npm` tests to fail properly 2018-04-24 22:23:44 -07:00
Jordan Harband 1f2a3234d2
[Tests] add `nvm install-latest-npm` tests for all node versions 2018-04-24 22:23:44 -07:00
Jordan Harband 34e1ec800e
Merge tag 'v0.33.10'
v0.33.10

Fixes
 - `install-latest-npm`: npm 6 is out, and requires node 6 or higher
2018-04-24 22:09:27 -07:00
Jordan Harband 177a9673a7
v0.33.10 2018-04-24 22:08:51 -07:00
Jordan Harband db98f8cdaf
[Fix] `install-latest-npm`: npm 6 is out, and requires node 6 or higher 2018-04-24 22:08:16 -07:00
Jordan Harband c983fefbae
Merge pull request #1734 from PeterDaveHello/improve-NVM_DIR-handling
[Fix] Remove $NVM_DIR trailing slash automatically
2018-04-24 16:22:42 -07:00
Jordan Harband 42f11acce1
[Fix] `install-latest-npm`: npm 6 is out, and requires node 6 or higher 2018-04-24 14:39:46 -07:00
Jordan Harband 09f7bbb78c
[Refactor] use a different approach to remove trailing slashes 2018-04-24 13:24:08 -07:00
Peter Dave Hello d5dacdf80f
[Fix] `nvm debug`: Fix sed syntax error in nvm_command_info() 2018-04-17 18:09:47 +08:00
Peter Dave Hello d3a9272a0c [Refactor] Speedup nvm_list_aliases() 2018-04-18 17:03:47 +08:00
Jordan Harband 1b14e6b4d9
v0.33.9 2018-04-14 22:38:18 -07:00
Jordan Harband f060867f15
Merge pull request #1739 from PeterDaveHello/add-editorconfig
[New] Add EditorConfig to help maintain part of coding style
2018-04-14 22:36:25 -07:00
Jordan Harband 0da699605e
[eclint] only check non-ignored files 2018-04-14 22:12:22 -07:00
Peter Dave Hello d9dc8464fd
[Doc] Add macOS install script note about Git
Closes #1782
2018-04-13 01:14:39 +08:00
Peter Dave Hello 685312d600
[Fix] Remove $NVM_DIR trailing slash automatically, fix #1708 2018-04-12 14:14:58 +08:00
Peter Dave Hello 0731003cfe
[New] Integrate eclint to test partial coding style 2018-02-26 02:29:38 +08:00
Peter Dave Hello ca66a13710
`nvm debug`: Improve OS version detection 2018-02-24 02:53:40 +08:00
Peter Dave Hello 8ff437ae51
[Doc] Fix manual install & upgrade guide, fix #1772 2018-04-12 23:58:30 +08:00
Peter Dave Hello b15709e637 Turn off wget's output in nvm_get_latest()
curl output is turned off by `-s` in the same place, we should unify the
behavior on wget, also, this help removes those wget outputs that can't
fit our coding style tests. cc #1739
2018-04-12 23:44:27 +08:00
Brian M. Jemilo II 8b71861d06
[Fix] `install.sh`: Detect profile with $BASH_VERSION and $ZSH_VERSION
Using `$(basename "/$SHELL")` to detect the shell would also choose bash on mac
2018-04-09 15:13:02 -05:00
Brian M. Jemilo II 68fe26a5e4
[Fix] Add autocompletion support to zsh
Fixes #1707.
2018-04-09 14:54:28 -05:00
Peter Dave Hello 37e0977e60
`install.sh`: Improve install.sh prompt output, add a newline 2018-04-10 15:53:33 +08:00
Jordan Harband 918a39a0d0
[Tests] update mocks 2018-04-09 23:29:37 -07:00
Jordan Harband 52f1b24895
[Tests] fix mirrors in mocks update script 2018-04-09 23:28:17 -07:00
Jordan Harband 74ff70aab3
[Fix] installing with an LTS name should lowercase the name before ensuring a default
Fixes #1781.
2018-04-09 23:23:27 -07:00
Ed Reel 663bddee9b
[docs] Add removal instructions to README.md
Closes #1767.
2018-04-09 10:36:54 -05:00
Guy Lepage bc87d3dd1c
removed global install on README.md. closes #1773 2018-04-04 19:03:03 -04:00
easyaspi314 (Devin) d8689f6b9a
`bash_completion`: Reduce startup time 2018-03-12 10:41:05 -04:00