Jordan Harband
e421a0dc5f
Ensure nvm follows redirects to nodejs.org
10 years ago
Jordan Harband
601490ac1d
Merge tag 'v0.17.3'
10 years ago
Jordan Harband
4748b3a236
v0.17.3
10 years ago
Jordan Harband
2a61569881
http://nodejs.org/dist now redirects to https://nodejs.org/dist
10 years ago
Jordan Harband
a7b1f93592
README cleanup: Use the Oxford comma, properly lowercase commands
10 years ago
Jordan Harband
ca89cceb99
Default $NVM_SYMLINK_CURRENT to off (create a "current" symlink on `use`).
...
Fixes #499 .
10 years ago
Jordan Harband
7b6e06e556
Add tests for "`nvm use default` on source" behavior.
10 years ago
Jordan Harband
370dfcab7c
Merge pull request #548 from BanzaiMan/ha-bug-npm-update
...
Fix npm update code
10 years ago
Hiro Asari
44d5776110
Fix npm update code
...
https://npmjs.org/install.sh redirects to https://www.npmjs.org/install.sh
so this code would fail if it ever npm was absent when we get here.
10 years ago
Jordan Harband
d49443e1fb
Properly handle nvm_print_implicit_alias splitting in zsh.
...
Hopefully fixes #546 .
10 years ago
Jordan Harband
e99645f402
Don't list uninstalled implicit aliases
10 years ago
Jordan Harband
8f76b35370
Fix `nvm alias` tests to have both stable and unstable mocks.
10 years ago
Jordan Harband
a2633e5980
Fixing "nvm alias" output redirection.
10 years ago
Jordan Harband
6c89e96f67
Ensure that we don't try to uninstall the current version of node in test teardowns.
10 years ago
Jordan Harband
1ee708b79b
Fix an output redirection error.
11 years ago
Jordan Harband
035334fd34
Merge pull request #544 from coreybutler/patch-1
...
Fixed links
11 years ago
Corey Butler
2edc86d574
Fixed links
...
The links were relative to github.com/creationix/nvm/master instead of the intended sites.
11 years ago
Jordan Harband
9d23f609ad
Add note about Windows options. Related to #284 .
11 years ago
Jordan Harband
9d9cfdc2c8
Two spaces after a period is incorrect.
11 years ago
Jordan Harband
1931f7f3f8
Remove '-e' option from installation tests, in favor of explicit failures.
11 years ago
Jordan Harband
2f2c6f0727
Use nvm_alias in nvm_ls.
11 years ago
Jordan Harband
0eef553a88
Use `-f` instead of `-e` in nvm_alias.
11 years ago
Jordan Harband
5135577a3c
Ensure `nvm run` has the same semantics as `nvm use`
11 years ago
Jordan Harband
5bc6e289ce
Silencing nvm_version_path error output in nvm_print_versions
11 years ago
Jordan Harband
d0c6b87b2e
Use `nvm_alias` in `nvm alias`
11 years ago
Jordan Harband
66b214651f
Add `nvm_alias` and unit tests.
11 years ago
Jordan Harband
acfc459bc5
Adding notes to the README for "stable", "unstable", and "system".
11 years ago
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.
11 years ago
Jordan Harband
f0471acbf5
v0.17.2
11 years ago
Jordan Harband
fda05fb64b
Remove trailing whitespace.
11 years ago
Jordan Harband
2737a95645
Create nvm_ensure_version_prefix, and make nvm_format_version actually format the version.
11 years ago
Jordan Harband
5706aef3d0
nvm_format_version: add unit tests.
11 years ago
Jordan Harband
4cdf356cdc
Support `nvm ls-remote stable` and `nvm ls-remote unstable`
11 years ago
Jordan Harband
c918e570b6
Add support for `nvm ls stable` and `nvm ls unstable`
11 years ago
Jordan Harband
5dc7af6285
Make `nvm alias` list implicit "stable" and "unstable" aliases when they're not already aliases.
11 years ago
Jordan Harband
f9565ff675
Adding nvm_print_implicit_alias success tests
11 years ago
Jordan Harband
cea0e88489
Adding nvm_print_implicit_alias error tests.
11 years ago
Jordan Harband
5aad535d53
Adding nvm_print_implicit_alias
11 years ago
Jordan Harband
fcdd1ef431
Add nvm_validate_implicit_alias
11 years ago
Jordan Harband
cd4fc8fb2c
Adding unit tests for `nvm_ls_remote`
...
`nvm_download` is stubbed, to avoid making network calls.
11 years ago
Jordan Harband
050a2ee9d3
nvm_remote_version: add unit tests
...
`nvm_ls_remote` is stubbed out to avoid making network calls here.
11 years ago
Jordan Harband
ff92ba7f43
Silence more secondary "deactivate" output.
11 years ago
Jordan Harband
804f2759f8
Ensure that `nvm use` works when .nvmrc contains "system"
11 years ago
Jordan Harband
d5fe657382
Ensure `nvm_rc_version` always modifies $NVM_RC_VERSION, rather than retaining its value from previous runs.
11 years ago
Jordan Harband
3e4613fd66
Don't output `nvm deactivate` output when running `nvm use system`
11 years ago
Jordan Harband
9aec19a692
Update bash completion commands for nvm
11 years ago
Jordan Harband
b707d8b072
nvm_ls: format the version immediately, so that `nvm ls 0.0.1` doesn't return `nvm ls 0.0.10`
11 years ago
Jordan Harband
be605cb12b
Adding a failing test: `nvm ls 0.0.x` includes `v0.0.xy`
11 years ago
Jordan Harband
3c66c20570
Improving "nvm alias" tests to test for all cases.
11 years ago
Jordan Harband
59bfdb9863
Making sure fast alias tests do their own teardown.
11 years ago