massto
17cc39b30b
Merge branch 'nvm-sh:master' into master
2021-12-24 07:09:35 +03:30
Luke LaFountaine
d004c6b064
[readme] clarify instructions for running Node on M1 Mac
2021-12-03 16:52:18 -05:00
Bob Bregant II
79ad72d116
[Fix] Update nvm_extract_tarball
to support OpenBSD
...
Fixes #2660 .
2021-12-19 02:58:18 +00:00
Bob Bregant II
ccd442d833
[Refactor] add nvm_extract_tarball
to consolidate extraction logic
2021-12-19 02:58:18 +00:00
Jordan Harband
9600617c52
v0.39.1
2021-12-17 14:55:52 -08:00
Jordan Harband
5cc74a6736
[Tests] fix failing test
2021-12-17 13:21:29 -08:00
Jordan Harband
aa57406ede
[Fix] ensure unload
removes nvm_normalize_lts
2021-12-17 13:55:14 -08:00
Jordan Harband
0f62be6fdd
[Dev Deps] update markdown-link-check
2021-12-17 12:37:15 -08:00
Jordan Harband
c4c7690dec
[Fix] ls-remote
/install
: support lts/-X
patterns in installs
...
Fixes #2692
2021-12-16 23:01:05 -08:00
Jordan Harband
aed1d732d7
[Fix] ls-remote
/install
: properly handle lts/x
patterns
2021-12-16 22:58:06 -08:00
Jordan Harband
0b4cd8df6c
[Refactor] create nvm_normalize_lts
helper
2021-12-16 22:55:02 -08:00
Jordan Harband
430860a8be
[Fix] nvm alias
/nvm_list_aliases
: support lts/
aliases
...
See #2692
2021-12-16 15:54:38 -08:00
Jordan Harband
2459d17741
[Tests] update test mocks
2021-12-16 23:13:15 -08:00
Varun Sharma
6cc90a4b8d
[actions] add step security runner
2021-11-22 07:20:50 -08:00
Jordan Harband
81fc05684d
[Tests] nvm_get_download_slug
: add unit tests
2021-12-02 23:33:20 -08:00
Ankit Kumar
328dd5004e
[Fix] nvm_get_download_slug
: better architecture selection for M1 Macs
...
If the node version is below 16.0.0 then nvm will select x86_64 architecture, else arm64 architecture.
2021-11-21 15:59:39 +05:30
Jérôme Foray
4856407d26
[Fix] install
: fix method=script install condition
...
Fixes #2665 ; see 8937917
2021-11-30 16:07:22 +01:00
Jordan Harband
275001b066
[Tests] fix windows WSL tests
2021-11-25 19:35:39 -08:00
Jordan Harband
89379176ac
[Fix] install
: properly check for curl/wget
2021-11-25 14:26:35 -08:00
Robert Elliot
30486b9bd9
[readme] Balance the if statement in bash example
...
Nesting the `elif` at the same level as the `if` and `fi` makes it clear which code applies to which branch (no .nvmrc file / found .nvmrc file).
I wasted a while looking at it trying to work out how it did anything if there was a .nvmrc file, because obviously the `if` didn't match and I couldn't see the `elif` branch.
2021-11-22 14:34:43 +00:00
Ian Grayson
e9b26938b9
[readme] Describe another failure case for installing node versions from source on mac arm64 machines.
...
It seems to be related to https://github.com/nodejs/node/issues/39313 (which describes a similar issue).
2021-11-15 04:23:42 -08:00
Jordan Harband
ccd98f7fcb
[Dev Deps] update doctoc
2021-11-19 08:59:37 -08:00
Jordan Harband
2f40eeef2e
[shellcheck] apply v0.8.0 updates
2021-11-19 08:53:43 -08:00
Masoud Shokohi
316d6c3b70
Merge branch 'master' into master
2021-11-04 14:59:46 +03:30
Nix
c9e7bb2da1
[Fix] install script: Add --no-pager
option to git branch
2021-10-23 22:23:55 +09:00
Masoud Shokohi
8a9d084f47
Merge branch 'master' into master
2021-04-09 04:26:46 +04:30
Jordan Harband
3fea5493a4
v0.38.0
2021-03-29 12:49:10 -07:00
Jordan Harband
cfc7edac65
[Dev Deps] update dockerfile_lint
, eclint
, replace
, semver
2021-03-29 12:49:02 -07:00
Jonathan Perret
c26bd935c0
[readme] M1 macs: Add nvm use
command to clarify that it is required
2021-03-24 10:50:38 +01:00
Jonathan Perret
621ccc5d13
Clarify the M1 shell instructions
...
The instructions seemed to encourage the misconception that `arch -x86_64 zsh` somehow modifies the default architecture for `zsh`, an operation which would need to be "reverted".
In fact, `arch -x86_64 …` merely spawns a new process under the selected architecture.
2021-03-23 14:37:04 +01:00
Andrew Shield
b19d8dbbba
[readme] Update source command to include s in zsh
2021-03-18 16:07:24 +13:00
Jordan Harband
0579718308
[Fix] install script: define nvm_echo
...
- refactor `echo` to use `nvm_echo`
Per 589c2377fb (r48360520)
2021-03-17 09:07:15 -07:00
Marcin Kłopotek
8884fd32f6
[readme] Add nvs
as one of the Windows alternatives
...
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2021-03-01 13:28:09 +01:00
Sladyn Nunes
25d2ebf2f8
[readme] add headings to certain sections
...
Fixes #2413 .
2021-03-03 20:47:44 +05:30
Jordan Harband
9cb6a2b614
[Tests] ensure doctoc
action fails when it should
2021-03-17 08:11:37 -07:00
Masoud Shokohi
ab7acbdcae
Merge pull request #2 from nvm-sh/master
...
massto-nvm
2021-02-14 01:34:31 +03:30
David Zulaica
d5c1441a83
[readme] Update M1 macOS troubleshooting instructions
2021-02-13 03:41:41 -08:00
Arshath
0fad5ec575
[readme] quote asterisk in shell command on --latest-npm
example
2021-02-05 19:45:26 +05:30
Jordan Harband
0d14d7f6b7
[Dev Deps] update doctoc
, replace
, semver
2021-02-01 14:31:06 -08:00
Jordan Harband
4c11ab1ac6
[actions] update workflows
2021-02-01 14:39:36 -08:00
Matt Calthrop
49e806c77a
[readme] Add macOS troubleshooting instructions for M1 chip
2021-01-21 20:45:12 +00:00
Brandon L. Reiss
3243f7a082
[Fix] Fix potential unbound var error on nvm install
...
Fixes #2420 . When using `nvm install` with an already installed
version, Bash (and potentially other shells) may emit an unbound
variable error when `set -u` is set. The presence of the error depends
on specific shell versions, but appears to happen in MacOS 11.1 (Big
Sur) using a recent Bash version installed via Homebrew (as of this
writing).
The fix accesses `ALIAS` correctly for the case where it is not set by
an `alias` option to `nvm install`.
2021-01-27 13:12:17 -05:00
Jordan Harband
015623ee6d
[Fix] avoid parse error with common omz global aliases, in nvm_print_color_code
...
Merge pull request #2365 from hosamaly/patch-1
2021-01-20 13:47:17 -08:00
nmarghetti
502089ae30
[New] install script: Allow installation from other repository also for git method
2021-01-14 00:10:19 +01:00
nmarghetti
589c2377fb
[Fix] install script: sync nvm_download
implementation from nvm.sh
2021-01-13 02:26:38 +01:00
nmarghetti
60e78d3ec1
[Tests] Add unit test for nvm_download
2021-01-13 02:26:38 +01:00
nmarghetti
9f3397afa4
[Tests] add nvm_grep
to install script, fix tests
2021-01-08 18:54:40 +01:00
Jordan Harband
436cda247e
[Fix] remove nvm_supports_source_options
...
Fixes #2387
2021-01-07 13:00:26 -08:00
nmarghetti
9849bf494d
[meta] Rename some files to be more cross platform
2021-01-04 00:49:05 +01:00
nmarghetti
4e9df33cb7
[New] install script: Allow installation from other repository
2020-12-27 10:09:29 +01:00