Commit Graph

1978 Commits (c26bd935c0cd9574035d5bde8ed930e6a4d8b16b)

Author SHA1 Message Date
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
Jordan Harband 0e3bb2cc47
[Fix] ensure --reinstall-packages-from has a version number.
Fixes #1760.
2018-03-14 00:13:07 -07:00
Peter Dave Hello 2850e65b62
[Docs] Fix some typos 2018-03-03 21:18:42 +08:00
Josh Soref 2859a19bbd
[Docs] fix spelling 2018-03-06 04:38:01 +00:00
Peter Dave Hello d6fa67166c
[Fix] `reinstall-packages`: Prevent install/link when no packages found
Fixes #1744.
2018-02-27 14:05:33 +08:00
Peter Dave Hello 25b7f264d5 [Fix] Use `nvm_echo` instead of `echo` directly 2018-02-28 02:16:24 +08:00
Jordan Harband 5fc8bd950d
Fix whitespace 2018-02-25 13:34:28 -08:00
Peter Dave Hello 750571056c
[Fix] Correct most of the wrong indentation 2018-02-26 02:20:21 +08:00
Peter Dave Hello 544c3f4caa
[New] Add EditorConfig to help maintain part of coding style 2018-02-21 01:26:02 +08:00
Peter Dave Hello e7b42198b4
[Fix] Improve .nvmrc reading process
Fixes #1015. Fixes #1712.
2018-02-20 03:34:43 +08:00
Peter Dave Hello 5f53caadad
[Refactor] Use grep `-q` parameter instead of redirect to /dev/null 2018-02-03 11:29:31 +08:00
Peter Dave Hello 9c42470347
[New] Add "$PATH" to `nvm debug` output 2018-02-06 08:17:20 +08:00
Peter Dave Hello 9f34b3e95c Remove trailing space 2018-02-26 01:03:01 +08:00
Peter Dave Hello 41ec44f6b5 Add missing final newline in test script 2018-02-26 01:02:41 +08:00
Peter Dave Hello 2cd2c0f72e Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
Peter Dave Hello f3076d14c9
[Fix] Add missing "command" prefixes for few commands 2018-02-20 04:05:47 +08:00
Peter Dave Hello bb803492d8 Remove duplicate code in nvm_npm_global_modules()
No matter what's the result of the condition here, the path is the same.
2018-02-22 09:43:09 +08:00
Peter Dave Hello f290ccf1d5
[Fix] Add missing "command" prefix for "tr", fix #1725 2018-02-19 13:59:26 +08:00
Peter Dave Hello 225e447b54 [Doc] Update Docker image build info in README.md 2018-02-19 00:27:04 +08:00
Peter Dave Hello 77da9f5a6d
Optimize ShellCheck installation in Docker image
Use pre-built static release binary instead of building ShellCheck from
the source code, this change would save disk space, time, and much
computing resources.
2018-01-18 00:33:41 +08:00
Peter Dave Hello 3ed47431f8
[New] Print $SHLVL in `nvm debug` 2017-11-05 03:25:04 +08:00
Peter Dave Hello aad269d224
Display FreeBSD and SunOS with correct caps 2018-02-12 02:15:01 +08:00
Christoph Krautz 74f455e610 [Docs] Add reminder that NVM_DIR should not contain trailing slash, fix for #1708 2018-02-09 11:51:46 +01:00
Karthik K f5b5f2d41d
[copyright] year to 2010 obsoleting future updations 2018-01-26 12:20:13 +05:30