Commit Graph

940 Commits (d0617b5b795a75bc66e1a05f5451dc62f9fc40df)

Author SHA1 Message Date
Jordan Harband 39a75e616d Add support for `nvm use node`, `nvm use iojs`, `nvm ls node`, and `nvm ls iojs`
Also add `nvm_version node` and `nvm_version iojs` support.
2015-01-18 20:45:02 -06:00
Jordan Harband 3cf68dc18d Add `nvm_has_system_iojs` 2015-01-18 20:55:48 -06:00
Jordan Harband 654c37bc29 Make sure to add a test for implicit source installation. 2015-01-18 12:11:21 -06:00
Jordan Harband c6a9f7baae Merge pull request #613 from jsha/https
Move some URLs to HTTPS.
2015-01-18 22:25:12 -08:00
Jacob Hoffman-Andrews bb2564d6db npmjs.org -> npmjs.com 2015-01-18 22:24:22 -08:00
Jacob Hoffman-Andrews 896a7eddd3 Move some URLs to HTTPS. 2015-01-18 12:05:44 -08:00
Jordan Harband 8ae7b33632 Improving failure messages on this test 2015-01-17 11:52:06 -06:00
Jordan Harband eb8c3414dd Move `nvm_get_latest` tests from "installation" to "slow" 2015-01-17 11:52:06 -06:00
Jordan Harband 9615672243 Move node-specific installation tests to their own directory. 2015-01-17 11:52:06 -06:00
Jordan Harband 78c1f2cf9d Split up this `nvm current` and `node 0.6.21-pre` test into separate tests. 2015-01-16 15:36:32 -06:00
Jordan Harband ed22d3de2d Add support for `nvm install node` and `nvm install iojs` 2015-01-16 11:10:37 -06:00
Jordan Harband 448bd38a55 v0.22.2 2015-01-14 15:44:40 -08:00
Jordan Harband 0ad5a450fe Put node versions >= 0.12 in `versions/node` instead of just `versions` 2015-01-14 12:23:06 -08:00
Jordan Harband d5e21be164 Add `nvm_ensure_version_prefix` unit tests. 2015-01-13 23:51:54 -08:00
Jordan Harband 797c5ab70b Move "install node from source" logic into `nvm_install_node_source` function. 2015-01-13 18:15:42 -08:00
Jordan Harband 952096d034 Add iojs support to "install" 2015-01-13 17:52:18 -08:00
Jordan Harband dd3a3763ce Add `io.js` support to `nvm uninstall` 2015-01-16 10:41:40 -06:00
Jordan Harband 41c379839d Make sure `nvm run` works with iojs prefixes. 2015-01-15 01:38:47 -08:00
Jordan Harband d9340b6a53 io.js does not have a SunOS binary. 2015-01-13 17:48:15 -08:00
Jordan Harband b0d6c05d6e Make `nvm ls-remote iojs [foo]` only show iojs versions, and `nvm ls-remote node [foo]` only show node versions. 2015-01-13 14:19:58 -08:00
Jordan Harband 0e209ce890 Move "install node binary" logic into `nvm_install_node_binary` function. 2015-01-13 14:08:56 -08:00
Jordan Harband 9a57a891b9 Refactor OS and architecture detection into separate functions. 2015-01-13 02:41:55 -08:00
Jordan Harband 58ab2c3128 Add iojs support to `nvm_remote_version` 2015-01-13 02:22:22 -08:00
Jordan Harband d70f0357f5 Add `nvm_ls_remote_iojs` and `nvm ls-remote` support for iojs. 2015-01-13 02:14:29 -08:00
Jordan Harband 5143de9653 Make `nvm_ls_current` work with `iojs`-prefixed versions. 2015-01-13 01:04:45 -08:00
Jordan Harband 5c336a7ccb Make `nvm_print_versions` support iojs via `nvm_version_path`. 2015-01-13 00:49:31 -08:00
Jordan Harband 3d5ded1815 Update the way `nvm_ls` sorts things. 2015-01-13 00:21:33 -08:00
Jordan Harband f661617f1c Make `nvm_ls foo` work with `iojs`-prefixed version strings. 2015-01-12 18:16:11 -08:00
Jordan Harband d28703f9e0 Update `nvm_ensure_version_prefix` to support `iojs`-prefixed version strings. 2015-01-12 18:15:51 -08:00
Jordan Harband b7983842aa Add `nvm_add_iojs_prefix` 2015-01-13 00:57:32 -08:00
Jordan Harband c12104cecd Add `nvm_strip_iojs_prefix` 2015-01-12 18:15:25 -08:00
Jordan Harband 98e0655198 Add `nvm_is_iojs_version` 2015-01-12 18:15:15 -08:00
Jordan Harband c46748a379 Add `nvm_node_prefix` 2015-01-13 14:16:35 -08:00
Jordan Harband 8be97c8abb Add `nvm_iojs_prefix` 2015-01-12 18:15:04 -08:00
Jordan Harband 7807a9f09e Consolidate "alias" directory to a method. 2015-01-12 01:27:53 -08:00
Jordan Harband 835c006b5e Better way to search multiple directories in `nvm_ls` 2015-01-12 01:15:48 -08:00
Jordan Harband 3fa11c35cb Add io.js support to `nvm_version_dir` 2015-01-12 00:33:13 -08:00
Jordan Harband 34e51f9f02 Proper quoting and $(…) vs `…`. 2015-01-11 12:13:14 -08:00
Jordan Harband 4b5885d69d Store the version path in a local variable for reuse. 2015-01-11 12:04:26 -08:00
Jordan Harband bf794ff8da Consistently prefix builtins with `command` 2015-01-11 11:53:24 -08:00
Jordan Harband 0bd7372c64 Rename this local var in `nvm_version_dir` 2015-01-11 11:38:55 -08:00
Jordan Harband 0a142b7e7a v0.22.1 2015-01-10 19:43:36 -08:00
Jordan Harband 3fc82d6b2f Use `command sed` for people who alias `sed`.
Fixes #493.
2015-01-09 01:50:05 -08:00
Jordan Harband c6489440dc Add nvm_ls_current test for #605 and `zsh`. 2015-01-01 23:31:55 -08:00
Jordan Harband 67e8939311 Merge pull request #605 from dhcmrlchtdj/fix_which
Fix which command in zsh (#604).
2015-01-01 22:28:30 -08:00
niris a26007ec0d fix test suit 2015-01-02 12:51:59 +08:00
niris 3f5ce8b93a Fix which command in zsh (#604). 2015-01-02 10:20:57 +08:00
Jordan Harband 8328741792 Removing an unnecessary `return $?` 2014-12-28 22:29:26 -08:00
Jordan Harband 8e45afb9f1 Move the version to a single location, nvm_latest_version. 2014-12-28 15:59:06 -08:00
Jordan Harband fd2fb24b03 Refactor `nvm_source` a bit. 2014-12-28 15:55:44 -08:00