Peter Dave Hello
aacb0b9b97
[Dockerfile] Fix command `From` to be `FROM`
2018-07-11 15:17:27 +08:00
Peter Dave Hello
f121e5ace0
[Dockerfile] Add missing quotes for variables
2018-07-11 15:17:18 +08:00
Peter Dave Hello
af8038ffec
[Dockerfile] Update ShellCheck version to v0.5.0
2018-07-11 15:14:00 +08:00
Peter Dave Hello
265ec90532
[Dockerfile] Add missing name & version LABEL
2018-07-11 15:14:00 +08:00
Peter Dave Hello
e2195b4c35
[Dockerfile] Use LABEL instead of deprecated MAINTAINER command
2018-07-11 15:13:57 +08:00
JBallin
41dc4218b9
[Docs] add --no-use option to installation
2018-06-17 21:31:56 -07:00
Xandor Schiefer
90cfb5d771
[Fix] `use`: Prepend instead of changing if shadowed by system dirs ( fixes #1652 )
2018-06-08 15:23:02 +02:00
Joshua Li
0cdc184168
[Fix] Improve `nvm_is_version_installed` to check for a node executable instead of root dir
2018-05-31 15:26:30 -07:00
Joshua Li
a5f42d9cea
[Tests] update most mkdirs to use make_fake_{node,iojs}
2018-06-13 10:38:19 -07:00
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