emmanuel-ferdman
9a769630d7
[readme] fix typo in resolv.conf filename
...
Signed-off-by: emmanuel-ferdman <35470921+emmanuel-ferdman@users.noreply.github.com>
2023-06-18 15:41:40 +03:00
Augustin Mauroy
c26422a03e
[readme] Update logo header
2023-06-05 10:34:20 +02:00
milesfrain
7c3cd81ad9
[readme] Add instructions on how to install without editing shell config
...
I had to dig into #2410 to learn about the `PROFILE=/dev/null` technique to install without appending to my shell config. Figured this note would be good to add in the main installation docs.
Also added a note on how to do this as a one-liner which was not obvious for me.
2023-04-25 13:49:16 -07:00
Deniz Eren Evrendilek
0ebda7eea3
[meta] Remove unavailable testing script
...
Fixes #3104
2023-05-01 11:23:38 -07:00
Deniz
5410ae57ba
[Fix] fix node download link for armv8l
...
Fixes #3035
2023-04-29 16:41:31 -07:00
Spike Grobstein
70aa611abc
[Fix] nvm exec
: no longer error with '-q: invalid option' for zsh users
...
the `nvm.sh` file assigns and exports an `NVM_CD_FLAGS` variable if it
was sourced from a zsh shell. the fact that it's exported means that
it'll be assigned in all child processes, including the `nvm-exec`
script, which uses bash as the interpreter.
Bash's `cd` command doesn't have a `-q` flag, so if the `NVM_CD_FLAGS`
is assigned `-q`, the script will error out and incorrectly claim that
the node version isn't installed.
this also manifests itself in the `nvm exec` command.
Example:
```console
$ nvm exec 16.14.0 npm --version
Running node v16.14.0 (npm v8.3.1)
/Users/<ME>/.nvm/nvm.sh: line 28: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
both the tree and the node path are required
N/A: version "v16.14.0 -> N/A" is not yet installed.
You need to run "nvm install v16.14.0" to install it before using it.
```
To address this, we unset the `NVM_CD_FLAGS` at the start of the
`nvm-exec` script, before loading `nvm.sh`.
2023-04-21 20:40:01 -07:00
Jordan Harband
c08b38a2a4
[Fix] nvm_print_npm_version
: if npm
exists but its node crashes, do not print the npm version
2023-04-28 10:57:57 -07:00
Jordan Harband
a07cd41af1
[Fix] nvm_ls_current
: when node
is present but crashes immediately, echo "none"
2023-04-28 10:55:03 -07:00
JC (Jonathan Chen)
d1a22a63bd
[readme] cdnvm
function: fix shellcheck errors
...
Resolves #3081
2023-04-09 09:21:56 -04:00
Leo Zlotnikov
0d9b5c2a00
[Fix] fix directory traversal when workdir path is not readable
2023-04-08 17:24:41 +01:00
Peter Dave Hello
44e1d9c911
[Dockerfile] Update base image from Ubuntu 20.04 to 22.04, cc #2877
2023-04-06 01:22:10 +08:00
Jordan Harband
b1331c20b0
[Tests] add unit tests for nvm_download_artifact
2023-04-06 09:23:33 -07:00
Peter Dave Hello
766341fca1
[readme] Update Travis CI badge and link url
...
travis-ci.org is deprecated and replaced by app.travis-ci.com for a while
2023-04-03 22:50:48 +08:00
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
Wu Jiang
a284af9228
[New] Add OpenBSD support
2016-04-14 20:57:10 -04:00
Jordan Harband
5b3d188b83
v0.39.0
2021-10-07 10:11:35 -07:00
Jordan Harband
e8f485bb63
[Dev Deps] update doctoc
, markdown-link-check
2021-10-07 10:08:53 -07:00
Simon East
055af09d24
[readme] link "Windows WSL" down to the "important notes" section
2021-05-04 15:56:53 +10:00
Matteo De Wint
93e0070a44
[Fix] nvm_die_on_prefix
: filter prefixed env vars on name only, ignoring values
2020-11-28 15:16:35 +01:00
Felipe Alexandre Rodrigues
10189bf4cb
[readme] Add bash_completion in "manual install" section
2021-10-05 10:47:56 -03:00
Jordan Harband
da5baa005b
[Tests] use a matrix on the nvm install-latest-npm
tests
2021-10-05 16:14:05 -07:00
Jordan Harband
ebbd30eb7f
[Fix] nvm install-latest-npm
: ensure npm 8 does not install on unsupported nodes
2021-10-05 15:13:45 -07:00
Rick Button
2bda9fd97e
[Tests] blacklist expired LetsEncrypt CA
...
workaround for TravisCI's ubuntu 16.04
2021-10-06 01:50:44 -04:00
Peter Dave Hello
7b530edd3a
[Docs] Use absolute URL for #606 in README.md
...
Since markdown-link-check hasn't support relative links, to make the
test passed, move this link to use absolute URL so that we can introduce
the new test. cc tcort/markdown-link-check#10
2017-11-05 04:07:37 +08:00
Peter Dave Hello
1afd4f3566
[Tests] Add markdown-link-check
script
...
This uses the npm package `markdown-link-check` to check if all the links in the documentation are alive.
2017-11-05 04:06:36 +08:00
Kaito Udagawa
53f9ba8336
[Refactor] Use awk for path stripping
...
This works with paths which contains regex meta characters.
2016-12-23 01:03:41 +09:00
Jordan Harband
07c02d43fe
[Tests] nvm install-latest-npm
: node < 0.10 breaks with npm with dropped support for TLS < 1.2
2021-09-29 10:47:34 -07:00
Alister Norris
59b0b3942c
[readme] Add quick intro to nvm
...
Allow newbies to get a quick understanding of how `nvm` works right from the start.
2016-12-06 15:14:08 +00:00
Peter Dave Hello
7bbc57355d
[Tests] Print shell version in Travis CI
2017-04-02 07:33:49 +08:00
Alex Sabau
47f0b32155
[readme] Add info to restart bash if verification not working in verification section
2018-02-25 21:46:31 +01:00
James Stroud
91bd22aa57
[readme] fixed small typo afew to a few
...
also gave more up to date versions for example of `nvm install` and `nvm which` as well as your pointer section
I love your project by the way.
2021-06-04 15:15:17 -04:00
Tim Connolly
ca897ac6d5
[readme] Avoid infinite loop in cdnvm()
2021-09-22 16:25:28 +10:00
Axel Svensson
11d71ab24b
[Fix] Regression in 2dad045
...
Fixes #2599
2021-09-24 01:56:47 +02:00
Georgi Chochov
4471b6beb6
[readme] remove duplicate word 'run'
2021-09-26 09:47:50 +00:00
Nikita N
cc6915e216
[readme] updated automatic call script for bash
...
Bash terminal was throwing error: `bash: cd: too many arguments` when directory had some spaces in the name.
The quotes around `$PWD` fixes this issue
2021-09-21 23:57:25 +03:00
Jordan Harband
b6b6e685a3
[Fix] set -a
: when this option is set, some sh
shells break
...
Fixes #2574
2021-09-14 23:26:31 -07:00
Gilad Barnea
d91087c333
[Fix] bash_completion
: be robust when cd
is overridden
2021-09-13 15:26:40 +03:00
Step Security
59532c74c6
[actions] restrict permissions for GITHUB_TOKEN
2021-09-10 06:09:45 +00:00
Jordan Harband
2dad0455ec
[Fix] nvm_die_on_prefix
: avoid grepping env functions in bash
...
ironically, nvm itself has functions that matched this grep.
2021-09-08 23:49:16 -07:00
Jordan Harband
f03f69508e
[Fix] reinstall-packages
: handle global symlink locations properly
...
This is a regression caused by npm ls -g in npm 7 no longer returning absolute paths.
2021-09-07 10:14:18 -07:00
Jordan Harband
fa63399991
[Tests] postcss
v7.0.36 stopped working on node 0.10; downgrade to v4
2021-09-09 00:05:09 -07:00
Kevin Stolp
291c7c4c47
[Fix] nvm_ls_remote_index_tab
: handle long version lists
2021-09-03 23:40:13 -07:00
Jordan Harband
c169d622ff
[Tests] update mocks
2021-09-04 08:57:36 -07:00
Jordan Harband
5b77f7d023
[Fix] nvm ls
/nvm alias
/nvm_list_aliases
: zsh: when no LTS aliases, no error
...
Fixes #2575 .
2021-09-01 10:06:32 -07:00
Jordan Harband
fd78c0101e
[Tests] disable fail-fast
2021-08-31 15:28:41 -07:00
Peter Dave Hello
678a827978
[Dockerfile] Update dated base image from Ubuntu 16.04 to 18.04
2021-08-31 02:03:30 +08:00
IYaksha
62d45af17e
[readme] fix typo regarding docker image base in Dockerfile
2021-08-30 19:20:03 +05:30
Jordan Harband
e0df5e92e3
[Robustness] avoid IFS shenanigans: quote arg count/return codes
2021-08-24 09:34:01 -07:00