edwmurph
3e2eddd05a
decent optimization; added last of test cases; fixed corner case; added some polish
2018-05-31 22:47:05 -04:00
edwmurph
8221df2a3f
renamed function; minor refactors; added test coverage; identified remaining work
2018-05-31 18:46:54 -04:00
edwmurph
faadbf8f6c
added a couple minor optimizations; polished a few things
2018-05-31 11:15:49 -04:00
edwmurph
b057b5660f
fix zsh incompatibility
2018-05-31 10:40:41 -04:00
edwmurph
7c888aa4e5
fixed eclint problem; renamed some files/functions
2018-05-31 06:26:52 -04:00
edwmurph
12f75e415f
significantly increased test coverage; fixed a couple edge cases
2018-05-30 17:53:39 -04:00
edwmurph
777f11e95c
localized variables in functions; refactored sed in nvm_validate_semver
2018-05-29 08:40:52 -04:00
edwmurph
79319ea7a3
refactored nvm_interpret_complex_semver to clearer structure; removed semver.md
2018-05-28 21:46:18 -04:00
edwmurph
c996ac7c5c
refactored tests
2018-05-28 12:19:39 -04:00
edwmurph
10e010eb80
fix lint errors; updated semver interpretation documentation
2018-05-28 08:40:04 -04:00
edwmurph
d4dee0c6a3
chnages from review; added optimization for common simple semvers
2018-05-27 17:16:08 -04:00
edwmurph
97bd5911ef
Dynamically interpret semver expression in local dirs package.json
2018-05-27 17:16:08 -04:00
Siddharth Sakhadeo
b81c120e0c
fix failing if check in autoload script
2018-05-25 15:33:42 -07:00
Jordan Harband
57ec311f53
[Fix] ls-remote
: fix issues in zsh when using a mirror with a ton of entries
...
Merge pull request #1818 from adedomin/master
2018-05-24 14:08:20 -04:00
Jordan Harband
38b32c27f3
[Tests] update mock data
2018-05-23 23:48:50 -04:00
adedomin
7a5ff0d133
[Fix] ls-remote
: fix issues in zsh when using a mirror with a ton of entries
...
Fixes #1813
2018-05-23 19:47:11 -04:00
Jordan Harband
f5f029c409
[Fix] “unstable” alias: when there’s no “unstable” minors, output “N/A”
2018-05-24 12:23:02 -04:00
Jordan Harband
c465a83518
[Tests] nvm ls-remote
: add test for overly-large tab file
2018-05-23 23:48:04 -04:00
Peter Dave Hello
62ee7cf998
[Refactor] bash_completion
: Improve coding style
2018-05-21 19:59:01 +08:00
Peter Dave Hello
113d807e5a
[New] Support --no-progress
for nvm install
...
Closes #1079 .
2017-03-10 01:07:16 +08:00
Jordan Harband
3fc7b737f5
[Fix] install -s
: zsh
: ensure shwordsplit
opt is set
...
Fixes #1719 .
2018-04-29 15:35:39 -07:00
Josh Sleeper
04c27e23fe
add --tags to git fetch in manual upgrade
...
facilitates older `git` fetching tags so that it can actually upgrade properly
2018-04-25 14:55:31 -07:00
Jordan Harband
592c0be195
Merge tag 'v0.33.11'
...
v0.33.11
Fixes
- `nvm install-latest-npm`: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2
2018-04-25 13:26:19 -07:00
Jordan Harband
93990ab7da
v0.33.11
2018-04-25 13:25:35 -07:00
Jordan Harband
61c7b133f8
[Fix] nvm install-latest-npm
: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2
2018-04-25 13:25:28 -07:00
Jordan Harband
eb0a8442d8
[Fix] nvm install-latest-npm
: node v4.5 and v4.6 work on npm v5.4.1, but not v5.4.2
2018-04-25 10:08:41 -07:00
Jordan Harband
a26ab88478
[Tests] fix nvm install-latest-npm
tests to fail properly
2018-04-24 22:23:44 -07:00
Jordan Harband
1f2a3234d2
[Tests] add nvm install-latest-npm
tests for all node versions
2018-04-24 22:23:44 -07:00
Jordan Harband
34e1ec800e
Merge tag 'v0.33.10'
...
v0.33.10
Fixes
- `install-latest-npm`: npm 6 is out, and requires node 6 or higher
2018-04-24 22:09:27 -07:00
Jordan Harband
177a9673a7
v0.33.10
2018-04-24 22:08:51 -07:00
Jordan Harband
db98f8cdaf
[Fix] install-latest-npm
: npm 6 is out, and requires node 6 or higher
2018-04-24 22:08:16 -07:00
Jordan Harband
c983fefbae
Merge pull request #1734 from PeterDaveHello/improve-NVM_DIR-handling
...
[Fix] Remove $NVM_DIR trailing slash automatically
2018-04-24 16:22:42 -07:00
Jordan Harband
42f11acce1
[Fix] install-latest-npm
: npm 6 is out, and requires node 6 or higher
2018-04-24 14:39:46 -07:00
Jordan Harband
09f7bbb78c
[Refactor] use a different approach to remove trailing slashes
2018-04-24 13:24:08 -07:00
Peter Dave Hello
d5dacdf80f
[Fix] nvm debug
: Fix sed syntax error in nvm_command_info()
2018-04-17 18:09:47 +08:00
Peter Dave Hello
d3a9272a0c
[Refactor] Speedup nvm_list_aliases()
2018-04-18 17:03:47 +08:00
Jordan Harband
1b14e6b4d9
v0.33.9
2018-04-14 22:38:18 -07:00
Jordan Harband
f060867f15
Merge pull request #1739 from PeterDaveHello/add-editorconfig
...
[New] Add EditorConfig to help maintain part of coding style
2018-04-14 22:36:25 -07:00
Jordan Harband
0da699605e
[eclint] only check non-ignored files
2018-04-14 22:12:22 -07:00
Peter Dave Hello
d9dc8464fd
[Doc] Add macOS install script note about Git
...
Closes #1782
2018-04-13 01:14:39 +08:00
Peter Dave Hello
685312d600
[Fix] Remove $NVM_DIR trailing slash automatically, fix #1708
2018-04-12 14:14:58 +08:00
Peter Dave Hello
0731003cfe
[New] Integrate eclint to test partial coding style
2018-02-26 02:29:38 +08:00
Peter Dave Hello
ca66a13710
nvm debug
: Improve OS version detection
2018-02-24 02:53:40 +08:00
Peter Dave Hello
8ff437ae51
[Doc] Fix manual install & upgrade guide, fix #1772
2018-04-12 23:58:30 +08:00
Peter Dave Hello
b15709e637
Turn off wget's output in nvm_get_latest()
...
curl output is turned off by `-s` in the same place, we should unify the
behavior on wget, also, this help removes those wget outputs that can't
fit our coding style tests. cc #1739
2018-04-12 23:44:27 +08:00
Brian M. Jemilo II
8b71861d06
[Fix] install.sh
: Detect profile with $BASH_VERSION and $ZSH_VERSION
...
Using `$(basename "/$SHELL")` to detect the shell would also choose bash on mac
2018-04-09 15:13:02 -05:00
Brian M. Jemilo II
68fe26a5e4
[Fix] Add autocompletion support to zsh
...
Fixes #1707 .
2018-04-09 14:54:28 -05:00
Peter Dave Hello
37e0977e60
install.sh
: Improve install.sh prompt output, add a newline
2018-04-10 15:53:33 +08:00
Jordan Harband
918a39a0d0
[Tests] update mocks
2018-04-09 23:29:37 -07:00
Jordan Harband
52f1b24895
[Tests] fix mirrors in mocks update script
2018-04-09 23:28:17 -07:00