Commit Graph

330 Commits (eddbe15ee888e78ed70e659bdb1565d2a7524f53)

Author SHA1 Message Date
Jordan Harband eddbe15ee8 Extract --copy-packages-from argument. 2014-09-21 18:03:11 -07:00
Jordan Harband 2e161fe414 nvm install: Remove this redundant "already installed" check. 2014-09-21 11:22:05 -07:00
Jordan Harband a42b90d215 Adding some helpful output to `nvm copy-packages` 2014-09-21 11:02:03 -07:00
Jordan Harband 7fd6d05426 Instead of using expr to check if paths need cleaning, compare cleaned paths to original paths and export appropriately. 2014-09-19 10:10:53 -07:00
Jordan Harband 5ef092b2c8 Using `nvm_version_greater` and `nvm_version_greater_than_or_equal_to` instead of `expr` in `nvm install`. 2014-09-19 10:10:37 -07:00
Jordan Harband cb6456fd85 Using `nvm_version_greater_than_or_equal_to` instead of `nvm_version_greater` where it increases readability. 2014-09-19 10:10:01 -07:00
Jordan Harband 991fb85047 Adding `nvm_version_greater_than_or_equal_to` 2014-09-19 10:09:45 -07:00
Jordan Harband c992b1766c Use `nvm_num_version_groups` in `nvm_ls` 2014-09-16 09:03:47 -07:00
Jordan Harband 4b2bc0be08 Adding `nvm_num_version_groups` 2014-09-16 09:03:47 -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 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 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 d1b6332bbe v0.16.0 2014-09-11 00:58:09 -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 9d96e4a6bf v0.15.0 2014-09-03 00:08:53 -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 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 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 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
stelcheck 59939d09e8 * Make the creation of a symlink an overridable default behaviour 2014-08-28 22:45:07 +09:00
Jordan Harband f9769e40dd v0.14.0 2014-08-27 00:49:30 -07:00
Jordan Harband 5048a78376 Add special handling for node v0.6.21-pre 2014-08-26 23:53:17 -07:00
Kevin Wang 814319d7c0 Make shasum the lowest priority checksum command.
This fixes false "Checksums do not match" errors on systems where shasum
is a symlink to sha256sum or otherwise.
2014-08-27 00:06:41 -05:00
Jordan Harband 150aea21ec Fixes #487. 2014-08-21 16:51:24 -07:00
Jordan Harband 5c7f08843d Add error checking to nvm_tree_contains_path 2014-08-21 17:15:53 -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
Hiroshi IKEGAMI f130d02efc Fixed `nvm_version_greater` has syntax error in zsh-buildin-command `[` 2014-08-22 10:59:11 +09: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 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 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
egilkh 938feca6a9 Should escape grep in copy-packages. 2014-08-20 15:09:40 +02: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 78a5e3fadf Attempt to improve `nvm copy-packages` 2014-08-16 00:14: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 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