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.
10 years ago
Jordan Harband
c33074cb54
Tweaking formatting of help output; adding `nvm exec` example.
10 years ago
Jordan Harband
689c52c90d
Install nvm-exec as well when installing via script.
...
Fixes #553 .
10 years ago
Jordan Harband
5904d41b25
Fixing a bug in install_as_script, from 516e553093
10 years ago
Daniel Bretoi
0c33fd2598
change to use default behavior for which
10 years ago
Daniel Bretoi
c9a53fe0c7
include nvm which in documentaiton
10 years ago
Daniel Bretoi
8b25457b74
remove redundant lines from test file
10 years ago
Daniel Bretoi
ee520abf78
adding some tests for nvm which
10 years ago
Daniel Bretoi
b63042bd9f
forgot to append bin
10 years ago
Daniel Bretoi
382c3aa85e
implements nvm which
10 years ago
Jordan Harband
afba4e08fd
Temporarily disable ksh tests, per #574
10 years ago
Jordan Harband
ce82109229
Merge pull request #567 from xcambar/nvm_source
...
[install script] Refactors NVM_SOURCE
10 years ago
Xavier Cambar
516e553093
Refactors NVM_SOURCE
10 years ago
Jordan Harband
e28a257f23
Merge pull request #573 from mklement0/amend_travis_yml
...
.travis.yml now obtains latest urchin version from the npm registry
10 years ago
Michael Klement
2d8adac785
.travis.yml now obtains latest urchin version from the npm registry instead of directly from GitHub
10 years ago
Jordan Harband
bf4bf008ac
Update `urchin`
10 years ago
Jordan Harband
5f5eb47f14
v0.18.0
10 years ago
Jordan Harband
d09b84de3c
Ensure that a system has `manpath` before invoking it.
...
Closes #531 , fixes #557 .
10 years ago
Jordan Harband
4b6075e29b
Merge pull request #568 from mklement0/fix_make_file
...
Fixed Urchin invocation problem in zsh and dash. Makefile "future-proofed" to take advantage of true cross-shell testing with Urchin, once available.
10 years ago
Michael Klement
781f72c9c8
Makefile now makes use of the `-s <shell>` option for Urchin, IF it is available, for true cross-shell testing.
...
Conversely, a warning is issued if it is missing, because that implies that no actual cross-shell testing will take place.
Also, the shell command that determines the set of available test suites is now POSIX-compliant.
10 years ago
Jordan Harband
6ec62fcc79
Merge pull request #564 from xcambar/nvm_detect_profile
...
Tests for PROFILE detection
10 years ago
Jordan Harband
fc17aaafb1
Merge pull request #541 from mklement0/fix_make_file
...
Makefile enhanced to error out with instructions if invoked without a target.
10 years ago
Michael Klement
ac912afc4c
Many makefile enhancements (support for direct invocation, instructions if invoked without target, release mechanism improved), package.json scripts now invoke the makefile.
...
- Using `npm test` and `npm run …` scripts defined in package.json now invokes the makefile and runs the test with the same shell that npm was invoked from.
- The makefile can now be invoked directly - supporting utilities from locally installed npm packages are automatically discovered.
- Invoking the makefile without a target errors out with a hint.
- Shell-specific test targets are now named 'test-<shell>'.
- Both 'test-<shell>' targets and the all-shells 'test' target now run all test suites by default.
- On `make TAG=<new-version> release` there must be no uncommitted changes. '<new-version>' can now also be one of the following increment specifiers: 'patch', 'minor', 'major'.
- It is ensure that <new-version>, if not an increment specifier, is a valid semver version number that is higher than the previous release's.
- The previous release tag is now located with a pattern so as to exclude tags that aren't version numbers.
- Switched from lightweight to annotated tags for releases.
10 years ago
Xavier Cambar
b9f15b0ab0
Tests for PROFILE detection
10 years ago
Jordan Harband
d30c0fe146
Cleaning up install_script tests.
10 years ago
Jordan Harband
21534ec0c9
Merge pull request #556 from xcambar/install_function_for_testing
...
Add install_script test suite; wrap installation in a function, for testing.
10 years ago
Xavier Cambar
3cdec8e875
Testable install script
...
* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
10 years ago
Jordan Harband
cec1c38a84
Move sourcing tests to a separate test suite.
10 years ago
Jordan Harband
ad0a5cd8c7
Merge pull request #560 from brock/pwd
...
use `command -p pwd` to use the system default pwd
10 years ago
Brock Angelo
1c9a5ba2d8
use slash pwd instead of command
10 years ago
Brock Angelo
fd1f2cdf66
use `command -p pwd` to use the system default pwd
10 years ago
Jordan Harband
2d529cc8b7
Prevent attempts to `nvm use` a circular reference.
10 years ago
Jordan Harband
9b91734f0b
Show "∞" when there's a circular alias reference.
10 years ago
Jordan Harband
0f5997f754
Clean up from some more tests
10 years ago
Jordan Harband
7a339bdd3c
Adding nvm_resolve_alias
10 years ago
Jordan Harband
08aa09e664
Prevent test pollution.
10 years ago
Jordan Harband
8284cd0f81
Ensuring that there's a stable and unstable version "available" for this test.
10 years ago
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