Jordan Harband
946da2e743
[Dev Deps] update `markdown-link-check`
2023-03-22 16:20:48 -07:00
Dennis
dde04f9392
[Fix] recognize 32Bit docker container and use x86 arch
2023-03-22 14:52:40 -07:00
William Baker
ffcb5213e2
[Perf] Improve performance of listing aliases
...
Fixes #3054
2023-03-10 00:53:29 -05:00
Jordan Harband
ea3b65f02e
[Tests] `npm bin` has been removed
2023-03-21 13:31:52 -07:00
Qasim Abdullah
ee6f766712
[Tests] downgrade python to v2 on travis
...
- TCI Support
- python 2.7
- skip build-essential
2023-03-21 22:45:38 +05:00
Nicolas signed-log FORMICHELLA
edacf8275e
[Fix] Remove unneeded call to `ls` in `nvm_arch`
...
Remove the call to `ls` that was used to determine the symlink
destination
Reasoning :
* `od` resolves symlink itself due to the use of `fopen`
* Prevent the behaviour of `od` which will hang if the filename is
empty (i.e. `/sbin/init` missing) as it will be waiting for `stdin`
compared to quitting with error if the file just doesn't exist
Fixes #3006
2023-01-22 11:48:59 +01:00
Jordan Harband
f36516b472
[Tests] move install script tests to github actions
2022-10-26 14:47:18 -07:00
Jordan Harband
dc691121b8
[Tests] improve debug output on failure
2022-12-27 21:41:39 -08:00
Jordan Harband
ce35311657
[Tests] force the NVM_DIR to the expected location, for tests
2022-12-27 21:40:48 -08:00
Thomas Levine
fe06825a96
[tests] Update urchin repository link
2022-12-25 10:38:26 +00:00
Jordan Harband
a60ac08a80
[actions] allow nvm to be installed
2022-12-26 13:22:07 -08:00
Jordan Harband
552db40622
v0.39.3
2022-12-23 12:57:56 -08:00
Jordan Harband
788c0a425e
[meta] use HEAD instead of master where possible
2022-12-23 12:53:40 -08:00
Dani Schuhman
333c52ec04
[meta] Improve contributors documentation
...
Incorporates old Contributing.md with more thorough details on how to contribute, create bug reports, set up the dev environment, and creating PR's itself.
2022-04-15 11:59:16 -04:00
mattjaf
59f448d595
[Docs] added WSL troubleshooting with solution to (6) Could not resolve host: raw.githubusercontent.com
...
Fixes #2958 .
2022-11-30 19:25:20 -08:00
Jordan Harband
d0bc227127
[Tests] update test mocks
2022-12-22 16:07:00 -08:00
Jordan Harband
bf438742a7
[Tests] move installation_node tests back to xenial
2022-12-22 16:16:10 -08:00
Jordan Harband
447940acb3
[Tests] move tests that fail on focal to a separate suite that runs on xenial
2022-12-22 11:26:27 -08:00
Jordan Harband
0ec2ca979c
[Tests] update travis to use focal
...
- xenial can't build node 18
- bionic can't build node 0.6 or 18
2022-10-26 11:12:19 -07:00
Jordan Harband
b86c91efe3
[actions] fix `latest-npm` tests so they use this repo’s nvm instead of the last published one
2022-12-22 15:27:46 -08:00
Jordan Harband
ac357c59ef
[Fix] `nvm install-latest-npm`: npm v6.14.18 can not be installed from npm < v4.4.4
2022-12-21 14:28:15 -08:00
Jordan Harband
abe5e30a9d
[shellcheck] remove duplicate function
2022-12-22 13:00:12 -08:00
Jordan Harband
4c4b0d64ed
[Tests] fix nvm_list_aliases test to use mocks for LTS aliases
2022-10-26 10:31:26 -07:00
Jordan Harband
e6fa80cb61
[Dev Deps] update `doctoc`, `markdown-link-check`, `replace`, `semver`
2022-10-26 10:13:39 -07:00
Jordan Harband
1f4bb91ae6
[Fix] ensure this variable is bound
...
Fixes #2926
2022-10-26 10:12:06 -07:00
Jordan Harband
924d77cc90
[Fix] `debug`: correct mistaken `-V` to `--version` from #2922
2022-10-24 10:51:20 -07:00
ryenus
095a4ca655
[Fix] `debug`: `awk`: not an option: `--version`
...
On Debian, the default awk/mawk doesn't support the '--version' option;
instead there's mawk-specific '-W version'.
2022-10-21 16:48:00 +08:00
ryenus
9721791563
[Fix] grep: warning: stray \ before /
...
No need to escape the `/` char in a grep pattern.
This is to fix the below error when using newer grep with `nvm_command_info`
> $ nvm_command_info curl
> grep: warning: stray \ before /
> /usr/bin/curl
This happens with at least GNU grep 3.8 version.
2022-10-20 10:49:43 +08:00
ryenus
89d6cdd6cf
[Fix] improve backward compatibility for non-gnu awk
...
Adding function alen(arr) since length(arr) is GNU extension.
Fixes #2916
2022-10-18 11:25:12 +08:00
Jordan Harband
df84c77a81
[actions] update some actions deps
2022-10-16 17:51:14 -07:00
epoweripione
fe6268c021
[Fix] `nvm install` error `unknown condition: -ne`
...
Fixes #2914
Co-authored-by: epoweripione <siyuwuxin@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2022-10-15 20:25:52 +08:00
Jordan Harband
df01d81128
[Refactor] add `nvm_wrap_with_color_code`; allow no color code
2022-10-13 20:16:42 -07:00
Jordan Harband
0ccd099bff
v0.39.2
2022-10-13 16:25:25 -07:00
Jordan Harband
f062cca179
[Refactor] nvm install/`nvm_install_default_packages`: move "get" logic inside helper
2022-10-13 15:03:36 -07:00
Jordan Harband
0698ede92d
[Tests] update test mocks
2022-10-13 12:08:31 -07:00
Jordan Harband
71a73b17cf
[Fix] `--help`: proper default `NVM_COLORS` info
2022-10-13 13:34:43 -07:00
Jordan Harband
0ae8409f4f
[Fix] `nvm install-latest-npm`: ensure npm 9 does not install on unsupported nodes
2022-09-08 14:59:25 -07:00
ryenus
5e9791c4f8
[perf] `nvm_print_versions`: re-implement using awk
...
reducing `nvm ls-remote` from almost 20s to below 2s.
Signed-off-by: ryenus <ryenus@gmail.com>
2022-06-05 13:27:03 +08:00
Maxim Lepekha
7c929f8742
[Fix] `install.sh`: support `~/.zprofile`
2022-09-21 22:38:50 +02:00
Josh Kelley
c6269e0ac2
[Fix] Don't override Mac M1 architecture for node ^14.17
...
Fixes #2743
Co-authored-by: Josh Kelley <joshkel@gmail.com>
Co-authored-by: Raz Luvaton <16746759+rluvaton@users.noreply.github.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2022-03-30 10:53:01 -04:00
BatemaDevelopment
28b3b0e324
[readme] Update Alpine Linux Section
...
- Update install directions to include `python3`, instead of `python2`, which is deprecated since Alpine 3.13.
2022-09-27 06:44:13 -04:00
Peter Dave Hello
b133f6619d
[Dockerfile] Update base image from Ubuntu 18.04 to 20.04, cc #2877
2022-09-07 16:36:29 +08:00
Robert Shuford
4893128c61
[readme] optimize calling of `nvm version` in zsh
2022-08-25 21:12:36 -04:00
etienne-miralytik
8fd948001e
[readme] Fix Ansible Linting Errors
...
Fixes #2860 .
This fixes these two linting errors:
- fqcn-builtins: Use FQCN for builtin actions.
- name: All names should start with an uppercase letter. (name[casing])
2022-08-24 18:58:38 +02:00
Jer Wilson
5a4e9184f1
[readme] cdnvm(): handle failed dir change
...
If cd command fails, return whatever cd returned, instead of marching ahead
2022-06-27 17:21:45 -07:00
SnipUndercover
95269ff055
[readme] Fix Git Install instruction list structure
2022-05-26 01:13:00 +02:00
Danny Neumann
2cfced740a
[Docs] Add note about creating .bashrc file *as well as* .bash_profile.
...
My problem was that I didn't have EITHER file, and hopefully the notes will help someone else reading the docs.
2022-01-27 10:53:36 -08:00
Robert Shuford
35758b75ed
[Tests] github actions removed homebrew and broke shellcheck
...
See https://github.com/actions/runner-images/issues/6283
2022-10-06 11:13:47 -04:00
Robert Shuford
d451e261ed
[Tests] node 18 no longer builds in travis-ci
2022-10-05 10:09:00 -04:00
Jordan Harband
a82edf40ba
[Robustness] avoid a clobbered `ls`
...
Fixes #2824
2022-06-02 12:25:55 -07:00