Commit Graph

1777 Commits

Author SHA1 Message Date
Ben Wiley f01fd23861
Merge 202d8a50a4 into 217a5bb0de 2018-10-22 20:12:27 +00:00
Fábio Antunes 217a5bb0de
[Docs] Added fish nvm 2018-10-21 23:31:20 -07:00
Paul Nickerson caf6208dbd
`install.sh`: Print an error and exit the script if $METHOD is set to something unexpected. 2018-10-02 13:46:26 -04:00
Nathan Burchill 0c2efed407
[New] `bash_completion`: Add support for `ZSH_DISABLE_COMPFIX` flag.
When using Oh My Zsh the ZSH_DISABLE_COMPFIX flag allows the zsh completion system to use files it deems to be insecure.
2018-09-18 16:15:35 -04:00
et304383 2d97ce5f7b
[Docs] add instructions for installing a specific version 2018-08-27 11:50:48 -03:00
Erik Lilja 8542df4ac5
[New] add support for `$XDG_CONFIG_HOME` 2018-08-14 21:45:40 +02:00
Jordan Harband f218a85454
[Tests] eslint 5.5+ seems to not install on node 0.10 2018-09-09 14:56:17 -07:00
Jordan Harband 96ebed37c7
Merge pull request #1863 from PeterDaveHello/ImproveDockerfile
Improve Dockerfile
2018-08-23 09:13:47 -07:00
Jordan Harband e7a37f336d
[Tests] fix failing tests on master due to npm registry SSL changes 2018-08-15 15:01:47 -07: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
Ben Wiley 202d8a50a4 Shell hook instructions made more organized/specific. 2017-06-29 21:57:20 -04:00
Ben Wiley 1e2643af97 Alternative plain bash instructions for zsh hook 2017-06-29 14:23:03 -04:00
Peter Dave Hello 3ac49e5ef1
[New] Introduce Docker environment for nvm 2017-04-02 08:03:32 +08:00
Peter Dave Hello 0356839d05 [Fix] Adjust $CURL_COMPRESSED_FLAG usage for curl, fix #1562 2017-06-27 15:04:28 +08:00
Peter Dave Hello b5034bb2b2
[bash completion] add missing `install-latest-npm`; remove undocumented `clear-cache` 2017-06-23 14:21:10 +08:00
Jiri Spac d073bc96c7
[Docs] bump sample version numbers 2017-06-01 16:46:53 +02:00
Peter Dave Hello 11370fe823 [Fix] curl should fail if something wrong, fix #1556 2017-06-14 10:58:38 +08:00
Jordan Harband cbdd41eee2
[New] `nvm install`: add `--latest-npm` option to automatically try to upgrade to the latest working version of `npm`.
- also add `nvm install-latest-npm` top-level command
2017-06-11 14:15:04 -07:00
J Huang 28fe93cd15
[Fix] `nvm install -s`: properly precompute clang version 2017-06-13 13:06:53 +08:00
J Huang 7965796569
[Fix] enable curl compression only on curl >=7.21.0
curl < 7.21.0 will output redirection reponse body to the output when compressed, which will cause tarball is prepended with redirection reponse body and leads to checksum mismatch.

 - add `nvm_curl_use_compression` and `nvm_curl_version`
2017-06-10 15:25:26 +08:00
Shiva Bhusal d2644b22f9 [Docs] Install script - Improve installation guide
If installation is prompted to be successful, yet `which nvm` command returns `not found` then you might need to restart your terminal instance. Try opening a new tab/window in your terminal and retry.
2017-06-03 11:49:33 +05:45
Nicolás Bevacqua 051ef09daf Fix `--version` help text 2017-06-01 10:06:43 -03:00
Jordan Harband 3497474fef [Docs] move the install script to the top; put the notes in a separate section. 2017-05-26 21:09:59 -07:00
Peter Dave Hello c3c2d350e9 [Tests] Fix cache for WITHOUT_CURL tests in Travis 2017-05-19 13:58:14 +08:00
Jordan Harband 4f626eac0d [Fix] `set -u`: when `ALIAS` is unset, don’t reference an unbound variable.
Fixes #1526.
2017-05-16 22:58:26 -07:00
Weston Ganger 7f3145bc98
[New] add support for `$NVM_DIR/default-packages` file 2017-03-28 09:37:14 -07:00
Jordan Harband dc5dfe3bc1
[Fix] set IFS to default for all nvm commands.
Fixes #1227. Fixes #1244. Fixes #1514. Fixes #1518.
2017-04-28 00:41:55 -07:00
Jordan Harband accd6ae298
[Fix] ensure if `npm link` fails, that `$IFS` is not improperly set.
https://github.com/creationix/nvm/issues/1519#issuecomment-297850323
2017-04-28 00:39:48 -07:00
Jumpei Ogawa caa7de37af
[Fix] `set -u`: ensure that potentially unbound variables aren’t called unchecked.
This commit is follow up for 853afbf.
Fixes remaining bug in #1363
2017-04-27 20:17:21 +09:00
Jordan Harband 0a95e77000
v0.33.2 2017-04-26 00:50:33 -07:00
Piper Chester 964c7b3115
[Docs] README.markdown → README.md 2017-04-08 09:19:15 -07:00
Peter Dave Hello bee7b9970e [Docs] Remove archlinux python tips in "Problems"
This is not working at all.
2017-04-23 23:33:42 +08:00
Peter Dave Hello f38d21c529 [Docs] Improve "Problems" README section readability 2017-04-13 17:56:46 +08:00
Peter Dave Hello 7aa3448259
[Tests] Add curl back when WITHOUT_CURL test done since cache needs it 2017-04-09 13:13:25 +08:00
Peter Dave Hello a66a9caa1c
[Tests] Use node v0.10.7 for thread para test as other install from src tests 2017-04-09 13:08:04 +08:00
Jordan Harband ec2b02e187
npm run doctoc 2017-04-12 16:11:01 -07:00