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
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
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
3d5ded1815
Update the way nvm_ls sorts things.
2015-01-13 00:21:33 -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
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
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
Jordan Harband
4708cc73ef
Update semver
2014-12-27 01:39:48 -08:00
Jordan Harband
c91e8d0ba2
v0.22.0
2014-12-26 16:30:21 -08:00
Jordan Harband
f8b143c594
Merge pull request #602 from ljharb/install_on_source
...
Support `--install` option on sourcing `nvm.sh`
2014-12-26 14:03:22 -08:00
Jordan Harband
9a4e9060d8
Don't bother testing --install option on source, or supporting it, unless the shell supports passing options upon sourcing.
2014-12-26 13:33:33 -08:00
Jordan Harband
3df0caefa5
Support --install option upon sourcing.
2014-12-26 12:19:35 -08:00
Jordan Harband
274369dc40
Remove trailing whitespace
2014-12-22 23:08:03 -08:00
Jordan Harband
bef3a5ce3a
v0.21.0
2014-12-22 12:03:33 -08:00
Jordan Harband
0cb8c9ac2f
Merge pull request #599 from ljharb/nvm_get_latest
...
Add `nvm_get_latest`
This relates to #522 , #561 , #400 .
`nvm_get_latest` uses http://latest.nvm.sh which redirects to https://github.com/creationix/nvm/releases/latest which in turn redirects to the latest release tag.
2014-12-22 11:02:07 -08:00
Jordan Harband
25c61594fe
Tests for nvm_get_latest
2014-12-21 18:13:59 -08:00
Jordan Harband
0a739e3fa9
Add nvm_get_latest
2014-12-21 16:33:52 -08:00
Jordan Harband
c0a20f2fa3
Update semver
2014-12-19 17:13:00 -08:00
Jordan Harband
2d78d69d4c
Properly outputting the version when nvm_version_path outputs the new "versions" subdirectory.
2014-12-19 17:12:38 -08:00
Jordan Harband
9e17b5059c
Return the proper exit code of which directly.
2014-12-19 16:23:27 -08:00
Jordan Harband
0ac2c787be
Merge pull request #597 from danielb2/which
...
Fix `nvm which` to use conventional direct path to program, like system `which`
2014-12-19 13:05:39 -08:00
Jordan Harband
b3178ca925
Add "--quiet" to git commands post-install.
...
Mentioned in #595 .
2014-12-18 10:37:10 -08:00
Jordan Harband
b9df3fccb4
Remove trailing whitespace.
2014-12-17 01:30:29 -08:00
Jordan Harband
f408d68afc
Add nvmrc note to nvm which blurb.
2014-12-17 01:30:23 -08:00
Jordan Harband
fc3a30dd0e
Add nvm which to bash_completion
2014-12-17 01:29:38 -08:00
Jordan Harband
74b36b09ff
Merge pull request #583 from danielb2/which
...
Adds `nvm which`
2014-12-17 01:26:50 -08:00
Jordan Harband
080f2149ac
Update urchin
2014-12-08 21:51:06 -08:00
Jordan Harband
3bd148056e
Fixing deactivate tests.
...
Fixes #357 .
2014-12-03 00:04:43 -08:00
Jordan Harband
5edf013127
Merge pull request #591 from mklement0/fix_make_file
...
obsolete check for the urchin cross-shell test feature; fix for spurious...
2014-12-02 23:40:24 -08:00
Jordan Harband
8964cb46d3
v0.20.0
2014-11-29 11:23:16 -08:00
Jordan Harband
383f39ab61
Global modules should not be requireable, and npm root -g should not be in $NODE_PATH.
...
Fixes #586 .
2014-11-29 11:22:10 -08:00
Jordan Harband
052743816f
$NODE_PATH is special, so this function shouldn't risk clobbering it.
2014-11-28 11:59:45 -06:00
Jordan Harband
7bbcd3a977
v0.19.0
2014-11-23 14:49:38 -08:00
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.
2014-11-22 13:22:24 -08:00
Jordan Harband
c33074cb54
Tweaking formatting of help output; adding nvm exec example.
2014-11-22 10:48:12 -08:00
Jordan Harband
689c52c90d
Install nvm-exec as well when installing via script.
...
Fixes #553 .
2014-11-22 10:34:20 -08:00
Jordan Harband
5904d41b25
Fixing a bug in install_as_script, from https://github.com/creationix/nvm/commit/516e553093604ac8a0daa4ad7fab2388cc5c88bf
2014-11-22 10:29:48 -08:00
Jordan Harband
afba4e08fd
Temporarily disable ksh tests, per #574
2014-11-15 11:02:00 -06:00
Jordan Harband
ce82109229
Merge pull request #567 from xcambar/nvm_source
...
[install script] Refactors NVM_SOURCE
2014-11-15 10:23:40 -06:00
Jordan Harband
e28a257f23
Merge pull request #573 from mklement0/amend_travis_yml
...
.travis.yml now obtains latest urchin version from the npm registry
2014-11-05 21:54:53 -08:00
Jordan Harband
bf4bf008ac
Update urchin
2014-11-05 13:58:30 -08:00
Jordan Harband
5f5eb47f14
v0.18.0
2014-11-05 10:59:59 -08:00
Jordan Harband
d09b84de3c
Ensure that a system has manpath before invoking it.
...
Closes #531 , fixes #557 .
2014-11-02 13:54:54 -08:00
Jordan Harband
4b6075e29b
Merge pull request #568 from mklement0/fix_make_file
...
Fixed Urchin invocation problem in zsh and dash. Makefile "future-proofed" to take advantage of true cross-shell testing with Urchin, once available.
2014-11-02 13:43:28 -08:00
Jordan Harband
6ec62fcc79
Merge pull request #564 from xcambar/nvm_detect_profile
...
Tests for PROFILE detection
2014-10-30 10:24:53 -07:00
Jordan Harband
fc17aaafb1
Merge pull request #541 from mklement0/fix_make_file
...
Makefile enhanced to error out with instructions if invoked without a target.
2014-10-30 10:23:37 -07:00
Jordan Harband
d30c0fe146
Cleaning up install_script tests.
2014-10-28 13:47:21 -07:00
Jordan Harband
21534ec0c9
Merge pull request #556 from xcambar/install_function_for_testing
...
Add install_script test suite; wrap installation in a function, for testing.
2014-10-28 13:42:59 -07:00
Jordan Harband
cec1c38a84
Move sourcing tests to a separate test suite.
2014-10-26 23:40:32 -07:00
Jordan Harband
ad0a5cd8c7
Merge pull request #560 from brock/pwd
...
use `command -p pwd` to use the system default pwd
2014-10-26 01:23:41 -07:00
Jordan Harband
2d529cc8b7
Prevent attempts to nvm use a circular reference.
2014-10-22 18:15:21 -07:00
Jordan Harband
9b91734f0b
Show "∞" when there's a circular alias reference.
2014-10-22 18:15:21 -07:00
Jordan Harband
0f5997f754
Clean up from some more tests
2014-10-22 18:15:21 -07:00
Jordan Harband
7a339bdd3c
Adding nvm_resolve_alias
2014-10-22 01:30:40 -07:00
Jordan Harband
08aa09e664
Prevent test pollution.
2014-10-22 01:26:39 -07:00
Jordan Harband
8284cd0f81
Ensuring that there's a stable and unstable version "available" for this test.
2014-10-21 01:02:59 -07:00
Jordan Harband
e421a0dc5f
Ensure nvm follows redirects to nodejs.org
2014-10-20 16:02:46 -07:00
Jordan Harband
601490ac1d
Merge tag 'v0.17.3'
2014-10-20 15:50:47 -07:00
Jordan Harband
4748b3a236
v0.17.3
2014-10-20 15:48:49 -07:00
Jordan Harband
2a61569881
http://nodejs.org/dist now redirects to https://nodejs.org/dist
2014-10-20 15:48:35 -07:00
Jordan Harband
a7b1f93592
README cleanup: Use the Oxford comma, properly lowercase commands
2014-10-19 19:26:17 -07:00
Jordan Harband
ca89cceb99
Default $NVM_SYMLINK_CURRENT to off (create a "current" symlink on use).
...
Fixes #499 .
2014-10-14 18:14:12 -07:00
Jordan Harband
7b6e06e556
Add tests for "nvm use default on source" behavior.
2014-10-13 23:55:58 -07:00
Jordan Harband
370dfcab7c
Merge pull request #548 from BanzaiMan/ha-bug-npm-update
...
Fix npm update code
2014-10-12 16:35:13 -07:00
Jordan Harband
d49443e1fb
Properly handle nvm_print_implicit_alias splitting in zsh.
...
Hopefully fixes #546 .
2014-10-11 00:41:16 -04:00
Jordan Harband
e99645f402
Don't list uninstalled implicit aliases
2014-10-10 23:46:25 -04:00
Jordan Harband
8f76b35370
Fix nvm alias tests to have both stable and unstable mocks.
2014-10-10 23:46:25 -04:00
Jordan Harband
a2633e5980
Fixing "nvm alias" output redirection.
2014-10-09 00:19:14 -07:00
Jordan Harband
6c89e96f67
Ensure that we don't try to uninstall the current version of node in test teardowns.
2014-10-09 00:19:14 -07:00
Jordan Harband
1ee708b79b
Fix an output redirection error.
2014-10-06 16:18:21 -07:00
Jordan Harband
035334fd34
Merge pull request #544 from coreybutler/patch-1
...
Fixed links
2014-10-05 12:02:30 -07:00
Jordan Harband
9d23f609ad
Add note about Windows options. Related to #284 .
2014-10-04 16:42:29 -07:00
Jordan Harband
9d9cfdc2c8
Two spaces after a period is incorrect.
2014-10-04 16:38:56 -07:00
Jordan Harband
1931f7f3f8
Remove '-e' option from installation tests, in favor of explicit failures.
2014-10-03 03:03:48 -07:00
Jordan Harband
2f2c6f0727
Use nvm_alias in nvm_ls.
2014-10-02 17:19:21 -07:00
Jordan Harband
0eef553a88
Use -f instead of -e in nvm_alias.
2014-10-02 16:06:09 -07:00
Jordan Harband
5135577a3c
Ensure nvm run has the same semantics as nvm use
2014-10-01 01:46:46 -07:00
Jordan Harband
5bc6e289ce
Silencing nvm_version_path error output in nvm_print_versions
2014-10-01 01:46:35 -07:00
Jordan Harband
d0c6b87b2e
Use nvm_alias in nvm alias
2014-09-30 00:24:37 -07:00
Jordan Harband
66b214651f
Add nvm_alias and unit tests.
2014-09-30 00:23:37 -07:00
Jordan Harband
acfc459bc5
Adding notes to the README for "stable", "unstable", and "system".
2014-09-29 21:43:58 -07:00
Jordan Harband
fc16d20766
Merge pull request #537 from ljharb/add_stable_unstable_aliases
...
Add stable & unstable aliases.
Fixes #336 .
With these changes, the following `nvm` commands will now support "stable" and "unstable" default/implicit aliases:
- `ls`/`list`
- `use`
- `alias`
- `run`
- `exec`
- `uninstall`
- `copy-packages`
For these, "stable" will be the latest even minor version that's locally installed; "unstable" will be the latest odd minor version that's locally installed.
In addition, `nvm ls-remote` and `nvm install` will accept the same implicit aliases, however, these will actually call nodejs.org and output the latest even and odd minor versions available for installation.
`nvm alias stable foo` and `nvm alias unstable foo` will *override* the default/implicit aliases. `nvm alias` output will reflect this by showing "(default)" when the alias is not user-defined.
2014-09-29 21:35:44 -07:00
Jordan Harband
f0471acbf5
v0.17.2
2014-09-29 14:32:44 -07:00