Jordan Harband
cbf0f12aac
Create `nvm_print_npm_version` and use that when printing the `npm` version.
10 years ago
Andrew Crites
caa69bc500
npm version: shell compatibility, test update
...
* Update test string that checks printed node version to pass with additional npm version display
* Remove echo -n for compatibility with shells that do not support it
10 years ago
Jordan Harband
c34502ebc2
`nvm_num_version_groups` should report 0 when given just a v or a .
10 years ago
Jordan Harband
3d764e6833
Add `nvm_ensure_default_set`
10 years ago
Jordan Harband
82393f5b36
Making sure this test passes whether a system node is installed or not.
10 years ago
HE Shi-Jun
3d69cf7437
update testcase
10 years ago
HE Shi-Jun
14b23bfa95
fix reinstall-packages test
10 years ago
Jordan Harband
2b63f37f8d
Make `nvm_resolve_local_alias` not return `N/A` - that should be done as shallowly as possible.
10 years ago
Jordan Harband
0d9329435c
Create `nvm_ensure_version_installed`
10 years ago
Jordan Harband
a0d04d0b6b
Preventing an unalias error in tests.
10 years ago
Jordan Harband
7d22e0c458
Separate `nvm_resolve_alias`'s `nvm_version` behavior into `nvm_resolve_local_alias`.
10 years ago
Jordan Harband
12ca8f2607
Add `nvm_is_alias` unit tests.
...
Fixes 670.
10 years ago
Jordan Harband
3190effedd
Add support for `node` and `iojs` implicit aliases.
10 years ago
Jordan Harband
f0d81e2d33
Revert "install: adding some debugging output"
...
This reverts commit c8efe3d28a
.
Conflicts:
install.sh
10 years ago
elliottcable
a216f56443
tests: fail install_script test if npm can't install package
10 years ago
elliottcable
c8efe3d28a
install: adding some debugging output
10 years ago
elliottcable
0717d5f995
install: some tweaks and clean-up
10 years ago
elliottcable
6cfc309336
install: Pass global-module check in the absence of npm
10 years ago
elliottcable
4ba7ee5797
install: Show a warning when global packages exist
10 years ago
Jordan Harband
be56ff3b2e
Make sure multiple `nvm run` arguments get passed through to node/iojs properly.
...
Fixes #641 .
10 years ago
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