172 Commits (f62747c29ca2b49ba1dafc8351e0096b19f717d9)

Author SHA1 Message Date
Jordan Harband eeaddf9ab0
Don’t restrict colors to TTYs. 9 years ago
Jordan Harband 8a138d98ed
[Refactor] Use `awk` to improve version comparison performance 9 years ago
Jordan Harband 1c3f8da6c3
`nvm alias`: factor out alias creation to `nvm_make_alias` 9 years ago
Jordan Harband 2d50606a78
[Tests] flesh out `nvm_print_default_alias` tests 9 years ago
Jordan Harband 379d079c30
[Tests] Ensure color codes are stripped in alias tests. 9 years ago
Jordan Harband 91c77c6ba8
[Tests] fix shebangs 9 years ago
Jordan Harband ec54c925c1
[Tests] use mocks for `nvm_ls_remote`/`nvm_ls_remote_iojs` tests. 9 years ago
Jordan Harband 677c69dda0
`nvm alias`: explicitly forbid user aliases in subdirs. 9 years ago
Jordan Harband 4df2a7fca9
`nvm alias`: factor out alias printing logic to functions 9 years ago
Jordan Harband 96afff7af2
[Tests] Set up “mocks” directory, and updater script. 9 years ago
Jordan Harband ac18d01854
[Tests] update index.tab data mocks. 9 years ago
Luke Childs dff4f80f32 Add fast test to check nvm uninstall with file permission error 9 years ago
Robson Peixoto 8fb4ee0789 Unset unnecessary environment variables 10 years ago
Jonas Dohse 7135873f80 Do not modify parameters of sourcing script in zsh 10 years ago
Thomas Levine 06b81f0f36 use env bash rather than /bin/bash 10 years ago
Jordan Harband 731c2f3f70 Add `nvm_get_minor_version` 10 years ago
Jordan Harband de64a2d95f [Fix] `nvm_format_version` should only return 3 version groups 10 years ago
Jordan Harband f279837d5c [Refactor] fix some bugs in `nvm_is_natural_num`, add unit tests. 10 years ago
Jordan Harband 32d184099c [Tests] fix cleanup in nvm_supports_xz unit test 10 years ago
Peter Dave Hello ec9232bb06 update nodejs.org-dist-index.tab and related test 10 years ago
Jordan Harband 149e5d483d Use real snapshot of iojs.org data for `nvm_ls_remote_iojs` tests. 10 years ago
Jordan Harband 114f27a075 Use `nvm_ls_remote_index_tab` for listing nodejs.org versions. 10 years ago
Johan Bergström b8e4917646 Use `xz` tarballs if available 10 years ago
Julien Gilli 2d692d9d78 Fix support for installing node on SmartOS 10 years ago
Jordan Harband 8ee6f30352 Add support for `$NPM_CONFIG_PREFIX` to `nvm_die_on_prefix`. 10 years ago
Jordan Harband 1458de7293 Ensure that if `npm config get prefix` is set to something outside `nvm`, that `nvm use` refuses to work. 10 years ago
Jordan Harband a1def71062 Add `nvm_die_on_prefix` 10 years ago
Jordan Harband 643365a948 Allow `--silent` option to `nvm use` to be in any position. 10 years ago
Jordan Harband e3528b0d9e Fix `nvm_ensure_version_installed iojs` to not print an empty string for the version. 10 years ago
Jordan Harband f34fef96d8 Add `nvm_is_merged_node_version` 10 years ago
Jordan Harband 8746d63041 Ensure after node v4.0 is released, `stable` will simply refer to the latest node. 10 years ago
Alan Quach 657192dd27 Adding unit tests for --silent 10 years ago
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 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
Jordan Harband 2b63f37f8d Make `nvm_resolve_local_alias` not return `N/A` - that should be done as shallowly as possible. 11 years ago
Jordan Harband 0d9329435c Create `nvm_ensure_version_installed` 11 years ago
Jordan Harband a0d04d0b6b Preventing an unalias error in tests. 11 years ago
Jordan Harband 7d22e0c458 Separate `nvm_resolve_alias`'s `nvm_version` behavior into `nvm_resolve_local_alias`. 11 years ago
Jordan Harband 12ca8f2607 Add `nvm_is_alias` unit tests. 11 years ago
Jordan Harband 3190effedd Add support for `node` and `iojs` implicit aliases. 11 years ago
Jordan Harband 2116d2ff91 Filter out the io.js version dir from nvm_ls output. 11 years ago
Jordan Harband e1b7496cf0 Add nvm_is_valid_version 11 years ago
Jordan Harband 24c60e4e51 Fix a bug in nvm_remote_version that was breaking `nvm install stable`/`nvm install unstable`. 11 years ago
Tobias Witt cba5094652
Provide test case for testing the `noclobber` option from zsh 11 years ago
Jordan Harband 7243bd77d3 Refactor and create `nvm_remote_versions` and `nvm_remote_version`. 11 years ago
Jordan Harband 6cac732141 Including this omitted test. 11 years ago
Jordan Harband f1f11e3b7a Ensure `nvm_version node` and `nvm_version node-` report the latest stable node version. 11 years ago