Daniel Li
355c4c7915
[Docs] Add section on automatic `nvm use` in Bash
2018-07-15 19:08:15 +01:00
Peter Dave Hello
4bd99bcfa2
[Dockerfile] Refactor to prevent using `sudo` during build
...
`sudo` may lead to unpredictable behavior in some cases, and we don't
really need to use `sudo` to reach what we need.
2018-07-12 18:38:15 +08:00
Peter Dave Hello
5f9ccaada0
[Dockerfile] Set the SHELL to bash with pipefail option
2018-07-12 18:38:15 +08:00
Peter Dave Hello
7ff20855a2
[Tests] Integrate dockerfile_lint to test Dockerfile
2018-07-12 18:38:14 +08:00
Peter Dave Hello
cdde74a55d
[Dockerfile] install missing eclint package
2018-07-12 18:37:40 +08:00
Jordan Harband
17c33fd9ae
Merge pull request #1861 from PeterDaveHello/ImproveDockerfile
...
Improve and update Dockerfile
2018-07-11 12:15:25 -07:00
Peter Dave Hello
04b35b5440
[Dockerfile] Use arguments JSON notation for ENTRYPOINT
2018-07-11 15:17:27 +08:00
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