Jordan Harband
2116d2ff91
Filter out the io.js version dir from nvm_ls output.
...
Fixes #642 .
10 years ago
Jordan Harband
0b4c1e14cf
Ensure that `nvm run 0.12 --version` errors out sensibly when 0.12 isn't installed.
10 years ago
Jordan Harband
e1b7496cf0
Add nvm_is_valid_version
10 years ago
Jordan Harband
a6819b3018
Fix `nvm ls v1.0.3` so that it locates `iojs-v1.0.3`.
...
Also fix `nvm uninstall v1.0.3` so it won't uninstall it if it's the current version.
node versions will still take priority if there's ever a version overlap.
10 years ago
Jordan Harband
24c60e4e51
Fix a bug in nvm_remote_version that was breaking `nvm install stable`/`nvm install unstable`.
...
Fixes #630 .
10 years ago
Tobias Witt
cba5094652
Provide test case for testing the `noclobber` option from zsh
...
This tests the absence of the bug from #615
10 years ago
Jordan Harband
7243bd77d3
Refactor and create `nvm_remote_versions` and `nvm_remote_version`.
...
Fixes #620 - an oh-my-zsh issue where `nvm install v1` didn't work.
10 years ago
Jordan Harband
6cac732141
Including this omitted test.
10 years ago
Jordan Harband
f1f11e3b7a
Ensure `nvm_version node` and `nvm_version node-` report the latest stable node version.
10 years ago
Jordan Harband
dbeeb683da
Fix `nvm_strip_path` for >= v0.12.0 node, and all io.js versions.
10 years ago
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.
10 years ago
Jordan Harband
3cf68dc18d
Add `nvm_has_system_iojs`
10 years ago
Jordan Harband
654c37bc29
Make sure to add a test for implicit source installation.
10 years ago
Jordan Harband
8ae7b33632
Improving failure messages on this test
10 years ago
Jordan Harband
eb8c3414dd
Move `nvm_get_latest` tests from "installation" to "slow"
10 years ago
Jordan Harband
9615672243
Move node-specific installation tests to their own directory.
10 years ago
Jordan Harband
78c1f2cf9d
Split up this `nvm current` and `node 0.6.21-pre` test into separate tests.
10 years ago
Jordan Harband
0ad5a450fe
Put node versions >= 0.12 in `versions/node` instead of just `versions`
10 years ago
Jordan Harband
d5e21be164
Add `nvm_ensure_version_prefix` unit tests.
10 years ago
Jordan Harband
952096d034
Add iojs support to "install"
10 years ago
Jordan Harband
58ab2c3128
Add iojs support to `nvm_remote_version`
10 years ago
Jordan Harband
d70f0357f5
Add `nvm_ls_remote_iojs` and `nvm ls-remote` support for iojs.
10 years ago
Jordan Harband
5c336a7ccb
Make `nvm_print_versions` support iojs via `nvm_version_path`.
10 years ago
Jordan Harband
f661617f1c
Make `nvm_ls foo` work with `iojs`-prefixed version strings.
10 years ago
Jordan Harband
d28703f9e0
Update `nvm_ensure_version_prefix` to support `iojs`-prefixed version strings.
10 years ago
Jordan Harband
b7983842aa
Add `nvm_add_iojs_prefix`
10 years ago
Jordan Harband
c12104cecd
Add `nvm_strip_iojs_prefix`
10 years ago
Jordan Harband
98e0655198
Add `nvm_is_iojs_version`
10 years ago
Jordan Harband
c46748a379
Add `nvm_node_prefix`
10 years ago
Jordan Harband
8be97c8abb
Add `nvm_iojs_prefix`
10 years ago
Jordan Harband
7807a9f09e
Consolidate "alias" directory to a method.
10 years ago
Jordan Harband
3fa11c35cb
Add io.js support to `nvm_version_dir`
10 years ago
Jordan Harband
c6489440dc
Add nvm_ls_current test for #605 and `zsh`.
10 years ago
niris
a26007ec0d
fix test suit
10 years ago
Jordan Harband
9a4e9060d8
Don't bother testing --install option on source, or supporting it, unless the shell supports passing options upon sourcing.
10 years ago
Jordan Harband
3df0caefa5
Support `--install` option upon sourcing.
10 years ago
Jordan Harband
274369dc40
Remove trailing whitespace
10 years ago
Jordan Harband
25c61594fe
Tests for `nvm_get_latest`
10 years ago
Jordan Harband
2d78d69d4c
Properly outputting the version when nvm_version_path outputs the new "versions" subdirectory.
10 years ago
Daniel Bretoi
99ca0de18f
revert echoing path. make tests even better
10 years ago
Jordan Harband
3bd148056e
Fixing deactivate tests.
...
Fixes #357 .
10 years ago
Daniel Bretoi
a1c0c34088
fix to proper echo of nvm which. Checkin test which had been left out
10 years ago
Jordan Harband
383f39ab61
Global modules should not be requireable, and `npm root -g` should not be in `$NODE_PATH`.
...
Fixes #586 .
10 years ago
Jordan Harband
e728577627
Rename `nvm copy-packages` to `nvm reinstall-packages`, and `--copy-packages-from` install option to `--reinstall-packages-from`
...
For #341 . `nvm copy-packages` and install option `--copy-packages-from` will continue to be supported for for at least a full minor release version.
10 years ago
Jordan Harband
689c52c90d
Install nvm-exec as well when installing via script.
...
Fixes #553 .
10 years ago
Daniel Bretoi
8b25457b74
remove redundant lines from test file
10 years ago
Daniel Bretoi
ee520abf78
adding some tests for nvm which
10 years ago
Xavier Cambar
516e553093
Refactors NVM_SOURCE
10 years ago
Xavier Cambar
b9f15b0ab0
Tests for PROFILE detection
10 years ago
Jordan Harband
d30c0fe146
Cleaning up install_script tests.
10 years ago