Commit Graph

1692 Commits (5f53caadada39c5135e7eaaf0934ede99c9505ea)

Author SHA1 Message Date
Jordan Harband 3b133fac2f
[Fix] `install-latest-npm`: `npm` `v5.4`+ breaks on `node` `v4.5` and `v4.6`. 2017-10-04 11:04:27 -07:00
Michał Gołębiowski-Owczarek 6ac8ebafba Add a Git .mailmap with my new name
In this way my past contributions are mapped correctly.
2017-10-04 12:55:41 +02:00
Jordan Harband 62fb0d0ad6 Merge pull request #1605 from PeterDaveHello/fix-install.sh
[Fix] install.sh shouldn't use not existed variable
2017-10-03 22:23:48 -07:00
Peter Dave Hello a461a0fffc [Fix] install.sh shouldn't use not existed $NVM_PROFILE 2017-10-04 10:10:47 +08:00
Jordan Harband 6597e11971
v0.33.5 2017-09-29 12:50:27 -04:00
Jordan Harband 707d268a76 Merge pull request #1619 from PeterDaveHello/refactor-travis-config
Remove the manual ShellCheck install proecss on Travis CI
2017-09-28 10:45:49 -07:00
Peter Dave Hello 73ad812215 Remove the manual ShellCheck install proecss on Travis CI 2017-09-29 00:22:43 +08:00
Jordan Harband 8c578b864d [Fix] ensure all `grep` calls go through `nvm_grep`.
Fixes #1615.
2017-09-22 19:11:43 -07:00
Peter Dave Hello d535c97d0f Enhance nvm debug with more tools info 2017-09-21 22:09:15 +08:00
Xandor Schiefer 334897ae39
Preserve PATH locations order when changing versions 2016-11-14 19:19:39 +02:00
Jordan Harband 7b8af94fc9
[Tests] retry io.js test runs, since iojs.org is flaky. 2017-09-08 01:32:54 -07:00
Peter Dave Hello 7753b24948
[Docs] Update README.md for Alpine linux reference
Add 4 packages as Alpine Linux wiki suggested:
(grep util-linux binutils findutils)

https://wiki.alpinelinux.org/wiki/How_to_get_regular_stuff_working
2017-09-07 18:00:08 +08:00
Xandor Schiefer 44ab611421
[Fix] unset `NVM_RC_VERSION` when unloading 2017-09-07 16:52:05 +02:00
Jordan Harband c0b56d03a1
[Fix] `install-latest-npm`: `io.js` `v1.0.x` has weird behavior with npm v4.6.x.
- comment out node 0.6 test due to travis-ci breakage
2017-09-07 15:57:09 -07:00
Jordan Harband d91b6197f3
v0.33.4 2017-09-04 22:59:50 -07:00
Jordan Harband e3d1519567 [Fix] `install-latest-npm`: `io.js` `v1.0.0` has weird behavior with npm v4.6.x. 2017-09-04 22:01:46 -07:00
Jordan Harband 6f19babbff
v0.33.3 2017-09-03 12:46:59 -07:00
Jordan Harband b3e25b15f9
`nvm_install_latest_npm`: npm v5.4+ breaks on node v4-4.4 and v5-5.9, due to missing `Buffer.alloc`. 2017-09-02 14:04:37 -07:00
Jordan Harband cf5272e1a0 [Fix] `set -u`: `nvm install`: fix unbound vars
Fixes #1587.
2017-08-08 20:53:51 -07:00
Jordan Harband 3e1b4591bd
[New] `install.sh`: install bash_completion via script method.
Fixes #1588.
2017-08-08 10:11:41 -07:00
Jordan Harband 389a53cca9 [Fix] `set -u`: `nvm use`: ensure these two vars don’t error out.
Fixes #1587.
2017-08-08 00:05:38 -07:00
Peter Dave Hello 248706d5f8
[New] Clean up git reflog history before git gc 2017-07-14 00:37:58 +08:00
Peter Dave Hello ab591b07ef [New] Print $TERM_PROGRAM in nvm debug if it exists 2017-07-14 01:48:27 +08:00
Peter Dave Hello 38a568c9c9
[New] Add `--auto` to git gc to speed up install & upgrade 2017-07-11 09:19:02 +08:00
GeekBlogTV b3bdbb2712
[Docs] updated to reflect current script output 2017-07-08 01:31:13 -05:00
Mike Ferrari 6921adb2f4
[Docs] add note about Linux troubleshooting 2017-06-26 12:22:34 -07:00
Peter Dave Hello f37ddea78f
[Docs] Fix typos in Docker instructions 2017-07-08 18:50:06 +08:00
Peter Dave Hello 1e69c4c77d
[New] Speedup process to install nvm from git by dropping commit history 2017-04-02 15:49:01 +08: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