Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								383f39ab61
								
							
								
							
						 | 
						
							
							
								
								Global modules should not be requireable, and `npm root -g` should not be in `$NODE_PATH`.
							
							
							
							
							
							
							
							Fixes #586. 
							
						 | 
						
							11 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. 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								689c52c90d
								
							
								
							
						 | 
						
							
							
								
								Install nvm-exec as well when installing via script.
							
							
							
							
							
							
							
							Fixes #553. 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Xavier Cambar
							
						 | 
						
							
							
							
							
								
							
								516e553093
								
							
								
							
						 | 
						
							
							
								
								Refactors NVM_SOURCE
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Xavier Cambar
							
						 | 
						
							
							
							
							
								
							
								b9f15b0ab0
								
							
								
							
						 | 
						
							
							
								
								Tests for PROFILE detection
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								d30c0fe146
								
							
								
							
						 | 
						
							
							
								
								Cleaning up install_script tests.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Xavier Cambar
							
						 | 
						
							
							
							
							
								
							
								3cdec8e875
								
							
								
							
						 | 
						
							
							
								
								Testable install script
							
							
							
							
							
							
							
							* wraps main code into a function
* EnvVar-based install start
* Clean environment after install 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								cec1c38a84
								
							
								
							
						 | 
						
							
							
								
								Move sourcing tests to a separate test suite.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								2d529cc8b7
								
							
								
							
						 | 
						
							
							
								
								Prevent attempts to `nvm use` a circular reference.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								9b91734f0b
								
							
								
							
						 | 
						
							
							
								
								Show "∞" when there's a circular alias reference.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								0f5997f754
								
							
								
							
						 | 
						
							
							
								
								Clean up from some more tests
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								7a339bdd3c
								
							
								
							
						 | 
						
							
							
								
								Adding nvm_resolve_alias
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								08aa09e664
								
							
								
							
						 | 
						
							
							
								
								Prevent test pollution.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								8284cd0f81
								
							
								
							
						 | 
						
							
							
								
								Ensuring that there's a stable and unstable version "available" for this test.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								ca89cceb99
								
							
								
							
						 | 
						
							
							
								
								Default $NVM_SYMLINK_CURRENT to off (create a "current" symlink on `use`).
							
							
							
							
							
							
							
							Fixes #499. 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								7b6e06e556
								
							
								
							
						 | 
						
							
							
								
								Add tests for "`nvm use default` on source" behavior.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								d49443e1fb
								
							
								
							
						 | 
						
							
							
								
								Properly handle nvm_print_implicit_alias splitting in zsh.
							
							
							
							
							
							
							
							Hopefully fixes #546. 
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								8f76b35370
								
							
								
							
						 | 
						
							
							
								
								Fix `nvm alias` tests to have both stable and unstable mocks.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								6c89e96f67
								
							
								
							
						 | 
						
							
							
								
								Ensure that we don't try to uninstall the current version of node in test teardowns.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								1931f7f3f8
								
							
								
							
						 | 
						
							
							
								
								Remove '-e' option from installation tests, in favor of explicit failures.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								66b214651f
								
							
								
							
						 | 
						
							
							
								
								Add `nvm_alias` and unit tests.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								fda05fb64b
								
							
								
							
						 | 
						
							
							
								
								Remove trailing whitespace.
							
							
							
							
							
						 | 
						
							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
							
						 | 
						
							
							
							
							
								
							
								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
							
						 | 
						
							
							
							
							
								
							
								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 | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								486d14f5f8
								
							
								
							
						 | 
						
							
							
								
								Copy packages when applicable, whenever `nvm install` would normally `nvm use` and exit.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								622fdd2cd0
								
							
								
							
						 | 
						
							
							
								
								Error out early if the --copy-packages-from version is invalid.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								35466187f2
								
							
								
							
						 | 
						
							
							
								
								Noting the changed behavior of `nvm ls vx.y.` to return something useful.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								4b2bc0be08
								
							
								
							
						 | 
						
							
							
								
								Adding `nvm_num_version_groups`
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								15b3e7b6a8
								
							
								
							
						 | 
						
							
							
								
								Removing unnecessary cleanup in "Listing Versions" tests.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								8d05ab63f1
								
							
								
							
						 | 
						
							
							
								
								Silencing error output in the "Listing Versions" teardown script.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								da693eaea1
								
							
								
							
						 | 
						
							
							
								
								Tweaking nvm_ls_current tests.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								97d4e2f88f
								
							
								
							
						 | 
						
							
							
								
								Unit tests: add `nvm_find_up`
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								e0a22ccf4a
								
							
								
							
						 | 
						
							
							
								
								Unit tests: add `nvm_has`
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								354be52672
								
							
								
							
						 | 
						
							
							
								
								Correct installation test paths
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								ba08fa31d8
								
							
								
							
						 | 
						
							
							
								
								Moving actual installation tests to their own suite.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								ad2713b13a
								
							
								
							
						 | 
						
							
							
								
								`&>` is a bash-specific extension for redirecting both stdout and stderr.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								243fc04164
								
							
								
							
						 | 
						
							
							
								
								Fixing these test files that have never been run
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								a80f958a1e
								
							
								
							
						 | 
						
							
							
								
								All 4 of these test files should be executable.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								ff1781b95d
								
							
								
							
						 | 
						
							
							
								
								Make `nvm copy-packages` refuse to copy packages from the currently activated version.
							
							
							
							
							
						 | 
						
							11 years ago | 
						
					
				
					
						
							
							
								 
								Jordan Harband
							
						 | 
						
							
							
							
							
								
							
								110e571c34
								
							
								
							
						 | 
						
							
							
								
								Make `nvm ls system` work.
							
							
							
							
							
						 | 
						
							11 years ago |