Jordan Harband
|
15b3e7b6a8
|
Removing unnecessary cleanup in "Listing Versions" tests.
|
2014-09-16 09:03:47 -07:00 |
|
Jordan Harband
|
8d05ab63f1
|
Silencing error output in the "Listing Versions" teardown script.
|
2014-09-16 09:03:47 -07:00 |
|
Jordan Harband
|
da693eaea1
|
Tweaking nvm_ls_current tests.
|
2014-09-16 09:03:47 -07:00 |
|
Jordan Harband
|
5363ff8916
|
Merge pull request #525 from creationix/add_unit_tests
Add unit tests
|
2014-09-15 20:46:31 -07:00 |
|
Jordan Harband
|
e186fa27a7
|
Use nvm_version_greater in nvm_binary_available
|
2014-09-15 09:20:47 -07:00 |
|
Jordan Harband
|
f6e0104685
|
Use nvm_normalize_version in nvm_version_greater
|
2014-09-15 09:17:41 -07:00 |
|
Jordan Harband
|
97d4e2f88f
|
Unit tests: add nvm_find_up
|
2014-09-15 09:09:56 -07:00 |
|
Jordan Harband
|
e0a22ccf4a
|
Unit tests: add nvm_has
|
2014-09-15 09:09:51 -07:00 |
|
Jordan Harband
|
d5d66c34d9
|
If there's no "default" specified, fall back to an .nvmrc file.
|
2014-09-15 07:54:30 -07:00 |
|
Jordan Harband
|
152904e3fb
|
Return a nonzero exit code from nvm_rc_version when no .nvmrc found
|
2014-09-15 07:51:00 -07:00 |
|
Jordan Harband
|
64de890d07
|
v0.16.1
|
2014-09-14 22:24:18 -07:00 |
|
Jordan Harband
|
a4da8a48ef
|
Merge pull request #524 from creationix/run_installation_tests_separately
Run installation tests separately
|
2014-09-14 22:21:02 -07:00 |
|
Jordan Harband
|
354be52672
|
Correct installation test paths
|
2014-09-14 18:01:55 -07:00 |
|
Jordan Harband
|
ad604cc068
|
Only run the "installation" tests both with and without curl.
|
2014-09-14 17:25:17 -07:00 |
|
Jordan Harband
|
ba08fa31d8
|
Moving actual installation tests to their own suite.
|
2014-09-14 17:24:30 -07:00 |
|
Jordan Harband
|
13aadbcf31
|
Run slow tests in ksh too
|
2014-09-14 16:42:23 -07:00 |
|
Jordan Harband
|
7bb6e9c915
|
Merge pull request #523 from creationix/run_slow_nvmrc_tests_too
Actually run all tests; fix some bugs
|
2014-09-14 16:38:12 -07:00 |
|
Jordan Harband
|
3d3145f2e0
|
install: don't output "additional options" when there are none.
|
2014-09-14 16:04:51 -07:00 |
|
Jordan Harband
|
4c948cf422
|
install: Ensure that if a version is not provided, we don't try to shift a nonexistent argument.
|
2014-09-14 16:04:37 -07:00 |
|
Jordan Harband
|
f8054d5cae
|
copy-packages: ensure that nvm_version is also applied to compare the provided version to the current one.
|
2014-09-14 16:04:25 -07:00 |
|
Jordan Harband
|
ad2713b13a
|
&> is a bash-specific extension for redirecting both stdout and stderr.
|
2014-09-14 16:04:13 -07:00 |
|
Jordan Harband
|
243fc04164
|
Fixing these test files that have never been run
|
2014-09-14 16:04:04 -07:00 |
|
Jordan Harband
|
a80f958a1e
|
All 4 of these test files should be executable.
|
2014-09-14 16:03:55 -07:00 |
|
Jordan Harband
|
f6fef75f36
|
Use git in manual install instructions to determine the latest release tag, rather than hardcoding it.
Per https://github.com/creationix/nvm/commit/199ba533403b2a3ad615d0a068a05e59e04e522d
|
2014-09-13 11:37:19 -07:00 |
|
Jordan Harband
|
199ba53340
|
Fixing manual install instructions to use the version tag. Relates to #520
|
2014-09-13 00:59:09 -07:00 |
|
Jordan Harband
|
d1b6332bbe
|
v0.16.0
|
2014-09-11 00:58:09 -07:00 |
|
Jordan Harband
|
159d4c645e
|
Merge pull request #518 from creationix/nvm_copy_packages_system
Make `nvm copy-packages system` work
|
2014-09-05 09:05:27 -07:00 |
|
Jordan Harband
|
687df82107
|
Make nvm copy-packages system work.
|
2014-09-05 00:43:12 -07:00 |
|
Jordan Harband
|
ff1781b95d
|
Make nvm copy-packages refuse to copy packages from the currently activated version.
|
2014-09-05 00:42:59 -07:00 |
|
Jordan Harband
|
110e571c34
|
Make nvm ls system work.
|
2014-09-05 00:29:20 -07:00 |
|
Jordan Harband
|
a7108e98f2
|
Make .bashrc be checked first on install.
From #511. Closes #320. Closes #268. Closes #334. Fixes #497. Relates to
|
2014-09-04 00:54:50 -07:00 |
|
Jordan Harband
|
30b044a368
|
Merge pull request #511 from 16BITBoy/bashrc-support
Fix for nvm not being sourced to bash when using gnome-terminal in Ubuntu 14.04
|
2014-09-04 00:53:23 -07:00 |
|
Jordan Harband
|
9d96e4a6bf
|
v0.15.0
|
2014-09-03 00:08:53 -07:00 |
|
Jordan Harband
|
a00a3a7429
|
Document NVM_SYMLINK_CURRENT env var from #514.
|
2014-09-03 00:07:45 -07:00 |
|
Jordan Harband
|
1c3585e5a2
|
Merge pull request #508 from creationix/nvm_copy_packages_not_npm
Don't copy `npm` with `nvm copy-packages`
|
2014-09-03 00:01:03 -07:00 |
|
Jordan Harband
|
214ce8853b
|
npm ls has a bug in some versions when "--parseable --depth=0" is used together.
|
2014-09-02 15:47:45 -07:00 |
|
Jordan Harband
|
d24dc662dc
|
Merge pull request #512 from kevinwang/shasum-lowest-priority
Make shasum the lowest priority checksum command.
|
2014-09-02 00:36:17 -07:00 |
|
Jordan Harband
|
b61445cbf4
|
Merge pull request #514 from stelcheck/master
Make the creation of a symlink an overridable default behaviour
|
2014-08-30 09:49:52 -07:00 |
|
Jordan Harband
|
603253b0cb
|
Quote the version.
|
2014-08-29 00:12:16 -07:00 |
|
Jordan Harband
|
5ee955bb62
|
Remove unused $ROOT variable.
|
2014-08-29 00:12:02 -07:00 |
|
Jordan Harband
|
f9769e40dd
|
v0.14.0
|
2014-08-27 00:49:30 -07:00 |
|
Jordan Harband
|
9c44a3e4c7
|
Merge pull request #513 from creationix/node_0_6_21_pre
Add special handling for node v0.6.21-pre
|
2014-08-27 00:38:32 -07:00 |
|
Jordan Harband
|
5048a78376
|
Add special handling for node v0.6.21-pre
|
2014-08-26 23:53:17 -07:00 |
|
Jordan Harband
|
4b3d6f1760
|
Properly pass a space-separated list of packages to npm install
Fixes #490.
|
2014-08-22 02:44:04 -07:00 |
|
Jordan Harband
|
56c40cfa3c
|
Don't try to copy npm itself with nvm copy-packages.
Fixes #504.
|
2014-08-22 02:19:56 -07:00 |
|
Jordan Harband
|
fd9e01b7e6
|
Merge pull request #507 from creationix/nvm_ls_current_tests
nvm_ls_current tests
|
2014-08-22 01:59:14 -07:00 |
|
Jordan Harband
|
5c7f08843d
|
Add error checking to nvm_tree_contains_path
|
2014-08-21 17:15:53 -07:00 |
|
Jordan Harband
|
6e6c5c4e2a
|
Removing an invalid option to touch from this test.
|
2014-08-21 17:19:43 -07:00 |
|
Jordan Harband
|
1c2c4788a2
|
Fixing nvm_version_greater tests.
Relates to #505, #506.
|
2014-08-21 23:42:51 -07:00 |
|
Jordan Harband
|
b59ecb9e11
|
Make sure the new versions directory is filtered out of nvm_ls output (in zsh).
|
2014-08-21 23:39:40 -07:00 |
|
Jordan Harband
|
7551746e55
|
Merge pull request #505 from magicdrive/fix-error_nvm_version_greater
Fixed `nvm_version_greater` has syntax error in zsh-builtin command `[`
|
2014-08-21 22:42:05 -07:00 |
|
Jordan Harband
|
70ac1e7fa4
|
Fix tests so that they fail in zsh (for #505)
|
2014-08-21 22:40:48 -07:00 |
|
Jordan Harband
|
150aea21ec
|
Fixes #487.
|
2014-08-21 16:51:24 -07:00 |
|
Jordan Harband
|
273f9d497a
|
Adding unit tests for nvm_ls_current. Relates to #487.
|
2014-08-21 01:35:03 -07:00 |
|
Jordan Harband
|
1c85068091
|
Merge pull request #502 from creationix/nvm_version_path
Store versions 0.12.0 and newer in a `versions` subdirectory
|
2014-08-20 22:49:17 -07:00 |
|
Jordan Harband
|
42786630a1
|
Merge pull request #503 from egilkh/master
Should escape grep in copy-packages.
|
2014-08-20 10:03:57 -07:00 |
|
Jordan Harband
|
3747735980
|
Make sure nvm clear-cache clears the versions directory as well.
|
2014-08-20 00:50:15 -07:00 |
|
Jordan Harband
|
5dd2d7e5d4
|
Make nvm ls support listing the "versions" directory when it's present.
|
2014-08-20 00:42:50 -07:00 |
|
Jordan Harband
|
65c2435418
|
Making sure that versions are backed up when running tests.
|
2014-08-20 00:37:38 -07:00 |
|
Jordan Harband
|
0a695c5d2a
|
Modify nvm_version_path to use nvm_version_greater.
|
2014-08-20 00:18:29 -07:00 |
|
Jordan Harband
|
8fe677a644
|
Add nvm_version_greater
|
2014-08-20 00:01:06 -07:00 |
|
Jordan Harband
|
213ff003d0
|
Use nvm_version_path everywhere possible.
|
2014-08-19 16:17:18 -07:00 |
|
Jordan Harband
|
986abbf5db
|
Create nvm_version_path
|
2014-08-19 16:17:00 -07:00 |
|
Jordan Harband
|
a2da9abd6d
|
Use nvm_version_dir in nvm_version_path
|
2014-08-19 01:56:34 -07:00 |
|
Jordan Harband
|
9068dda110
|
Adding nvm_version_dir
|
2014-08-19 01:53:39 -07:00 |
|
Jordan Harband
|
6baa9a0918
|
Merge pull request #501 from creationix/fix_copy_packages
Fix nvm copy-packages
|
2014-08-16 02:35:15 -07:00 |
|
Jordan Harband
|
b8fe75e93a
|
Tests for nvm copy-packages
|
2014-08-16 01:58:39 -07:00 |
|
Jordan Harband
|
78a5e3fadf
|
Attempt to improve nvm copy-packages
|
2014-08-16 00:14:29 -07:00 |
|
Jordan Harband
|
5e54886cbc
|
Merge pull request #500 from creationix/run_slow_tests_on_all_shells
Run slow tests on all shells
|
2014-08-15 21:30:29 -07:00 |
|
Jordan Harband
|
d7849054f8
|
Apparently wget outputs to stderr, so let's make sure we're checking both stderr and stdout.
|
2014-08-15 20:47:55 -07:00 |
|
Jordan Harband
|
708ac80a55
|
Properly replace the -I curl option for the --server-response wget option.
|
2014-08-15 20:47:55 -07:00 |
|
Jordan Harband
|
d341d5e535
|
Run all slow tests on all shells
|
2014-08-08 12:16:22 -07:00 |
|
Jordan Harband
|
eef12cc2b3
|
v0.13.1
|
2014-08-08 11:48:54 -07:00 |
|
Jordan Harband
|
99c8b59a14
|
Make sure that $ARGS is evaluated natively rather than as a single string argument.
Fixes #494.
|
2014-08-08 11:48:38 -07:00 |
|
Jordan Harband
|
abdc3f3c21
|
Run all fast tests without curl.
|
2014-08-07 13:53:12 -07:00 |
|
Jordan Harband
|
401ac45568
|
Merge pull request #477 from koenpunt/without-curl
add test without curl
|
2014-08-07 13:52:06 -07:00 |
|
Jordan Harband
|
61709c1f97
|
v0.13.0
|
2014-08-02 19:24:39 -07:00 |
|
Jordan Harband
|
1a8479ed31
|
Merge pull request #491 from creationix/nvm_exec
Add `nvm exec` command.
|
2014-08-02 19:23:05 -07:00 |
|
Jordan Harband
|
a703d3591f
|
Tweaking the readme description
|
2014-08-02 19:22:53 -07:00 |
|
Jordan Harband
|
1fa2acf5a7
|
Adding nvm exec tests.
|
2014-08-02 15:43:04 -07:00 |
|
Jordan Harband
|
d5c0e94166
|
Adding nvm exec command.
|
2014-08-01 01:26:33 -07:00 |
|
Jordan Harband
|
6dc602b521
|
Ensure that nvm ls node doesn't return "node_modules", for example.
|
2014-08-01 01:24:28 -07:00 |
|
Jordan Harband
|
1d37af162a
|
v0.12.2
|
2014-07-29 00:35:27 -07:00 |
|
Jordan Harband
|
781373f7ce
|
Make sure awk is referenced unaliased, per https://github.com/creationix/nvm/issues/162#issuecomment-50284503
|
2014-07-27 23:02:22 -07:00 |
|
Jordan Harband
|
68574cc7e8
|
v0.12.1
|
2014-07-24 14:07:26 -07:00 |
|
Jordan Harband
|
0f3b06320e
|
Merge pull request #481 from johnloy/master
Changes $path var to $node_path. Fixes #482.
|
2014-07-24 14:07:05 -07:00 |
|
Jordan Harband
|
f5643dc7ea
|
v0.12.0
|
2014-07-23 01:15:14 -07:00 |
|
Jordan Harband
|
6bcac7f638
|
Merge pull request #480 from fjakobs/patch-1
install.sh: make sure to not error out if master branch does not exist
|
2014-07-23 01:14:41 -07:00 |
|
Jordan Harband
|
8cbf149558
|
Merge pull request #408 from creationix/nvm_system_awareness
Add `system` awareness to `nvm use`, `nvm ls`, and `nvm current`.
|
2014-07-21 22:55:27 -07:00 |
|
Jordan Harband
|
e7ada80d08
|
nvm use system should work as expected.
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
9912f7cc46
|
If nvm is deactivated, display "none" or "system" instead of the system node version
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
6e02e5a54c
|
If nvm_ls is called without a pattern, and node exists, tack on "system".
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
42b010775b
|
Add system support to nvm_print_versions
|
2014-07-21 02:03:18 -07:00 |
|
Jordan Harband
|
1c50c5c7aa
|
Add nvm_tree_contains_path function
|
2014-07-21 02:03:04 -07:00 |
|
Jordan Harband
|
200a9aa97e
|
v0.11.2
|
2014-07-20 23:58:19 -07:00 |
|
Jordan Harband
|
4512337c11
|
Adding a slow nvm current test, since it needs an installed version of node.
|
2014-07-20 23:41:11 -07:00 |
|
Jordan Harband
|
55677dba4a
|
Avoid calling "nvm_ls current" and call "nvm_ls_current" directly
|
2014-07-20 23:40:20 -07:00 |
|
Jordan Harband
|
ca43ca21f5
|
Fix curl/wget detection. Fixes #478
|
2014-07-18 13:18:09 -07:00 |
|
Jordan Harband
|
fafbeb8c59
|
Merge pull request #479 from koenpunt/fix-args-replacement
string replacement turns out not POSIX compliant
|
2014-07-18 13:15:13 -07:00 |
|
Jordan Harband
|
5ec0ccec1b
|
Fixing make release to also cover package.json.
Per https://github.com/creationix/nvm/commit/a3de7f322233ab2b17ad6a69ea56877e417057cd#commitcomment-7057689
|
2014-07-18 01:49:57 -07:00 |
|