Jordan Harband
eed0d0e85c
[meta] add project charter and governance
4 years ago
Jordan Harband
ad24e96fda
[shellcheck] disable additional `-x` warning from v0.7.2
4 years ago
Jordan Harband
b5165ecbe4
[shellcheck] update for new warnings in v0.7.2
4 years ago
Jordan Harband
fc87226b23
[readme] move License and Copyright notice sections to the bottom
4 years ago
Jordan Harband
f3caa06420
[meta] add OpenJS Foundation copyright notices/links
4 years ago
Jordan Harband
1527ac9d21
[readme] remove redundant "license" section text in favor of LICENSE.md
4 years ago
Jordan Harband
bd0ac1e96d
[meta] add `SECURITY.md`
4 years ago
akefirad
117486d4a7
[Fix] `bash_completion`: check if `compinit` is called before calling it
...
Fixes #2489 .
4 years ago
Jordan Harband
07253ecd51
[actions] adjust shellcheck/windows tests to9 have a final "done" job
4 years ago
nmarghetti
f2582275f6
[New] maybe support Windows with WSL, MSYS, Cygwin
4 years ago
nmarghetti
d118be8fd4
[Tests] Add unit tests for `nvm_is_version_installed`
4 years ago
Leandro Facchinetti
5fcec573eb
[readme] Improve README about Macs with M1 chips
...
Mention that you must have Rosetta 2 installed and provide instructions on how to do it.
4 years ago
Botspot
779a34e6a9
[Fix] `nvm_get_arch`: Rasbperry Pi: armv7l with arm64 kernel, get correct arch
...
Co-authored-by: Botspot <54716352+Botspot@users.noreply.github.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
4 years ago
Sladyn Nunes
2b5e53fcd5
[Fix] install script: check the proper version; fetch tags also
...
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
4 years ago
Jordan Harband
f534fde760
[Tests] `node-gyp` v8 breaks this test
4 years ago
Jordan Harband
3fea5493a4
v0.38.0
4 years ago
Jordan Harband
cfc7edac65
[Dev Deps] update `dockerfile_lint`, `eclint`, `replace`, `semver`
4 years ago
Jonathan Perret
c26bd935c0
[readme] M1 macs: Add `nvm use` command to clarify that it is required
4 years ago
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.
4 years ago
Andrew Shield
b19d8dbbba
[readme] Update source command to include s in zsh
4 years ago
Jordan Harband
0579718308
[Fix] install script: define `nvm_echo`
...
- refactor `echo` to use `nvm_echo`
Per 589c2377fb (r48360520)
4 years ago
Marcin Kłopotek
8884fd32f6
[readme] Add `nvs` as one of the Windows alternatives
...
Co-authored-by: Jordan Harband <ljharb@gmail.com>
4 years ago
Sladyn Nunes
25d2ebf2f8
[readme] add headings to certain sections
...
Fixes #2413 .
4 years ago
Jordan Harband
9cb6a2b614
[Tests] ensure `doctoc` action fails when it should
4 years ago
artforlife
216ccd62f7
[readme] add commands to help troubleshoot without closing the current shell
...
Co-authored-by: artforlife <artforlife@users.noreply.github.com>
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
5 years ago
Rodrigo Espinosa de los Monteros
4da7f101a2
[Fix] `nvm_alias`: ensure `lts/-1` returns the one before `lts/*`
...
Fixes #2461
4 years ago
Jordan Harband
641f86879f
[Tests] update mocks
...
- make call count test depend on mocks
4 years ago
Lukman
1081ed161b
[New] `install`: add parallel build support for openbsd
...
Co-authored-by: Lukman <lukmaan.me@gmail.com>
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
4 years ago
Vesa Vilhonen
52f67b3677
[Fix] `exec`: `--` should stop argument parsing
...
Co-authored-by: Vesa Vilhonen <vesa@vilhonen.com>
Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
4 years ago
Sladyn Nunes
4fdef427e4
[New] `install`: add `-b` flag to skip building from source
...
Fixes #2114 .
4 years ago
farmer
d9b11ba208
[readme] update `cdnvm` implementation
4 years ago
Jordan Harband
87f37909f2
[meta] add CODE_OF_CONDUCT.md
4 years ago
nmarghetti
7f6c0c053a
[Refactor] add `nvm_install_binary_extract`
4 years ago
nmarghetti
d396181ffb
[Refactor] add `nvm_get_artifact_compression`
4 years ago
shiyutim
a5742d4e9e
[readme] add install error tips
4 years ago
David Zulaica
d5c1441a83
[readme] Update M1 macOS troubleshooting instructions
4 years ago
Arshath
0fad5ec575
[readme] quote asterisk in shell command on `--latest-npm` example
4 years ago
Jordan Harband
0d14d7f6b7
[Dev Deps] update `doctoc`, `replace`, `semver`
4 years ago
Jordan Harband
4c11ab1ac6
[actions] update workflows
4 years ago
Matt Calthrop
49e806c77a
[readme] Add macOS troubleshooting instructions for M1 chip
4 years ago
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`.
4 years ago
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
4 years ago
nmarghetti
502089ae30
[New] install script: Allow installation from other repository also for git method
4 years ago
nmarghetti
589c2377fb
[Fix] install script: sync `nvm_download` implementation from nvm.sh
4 years ago
nmarghetti
60e78d3ec1
[Tests] Add unit test for nvm_download
4 years ago
nmarghetti
9f3397afa4
[Tests] add `nvm_grep` to install script, fix tests
4 years ago
Jordan Harband
436cda247e
[Fix] remove `nvm_supports_source_options`
...
Fixes #2387
4 years ago
nmarghetti
9849bf494d
[meta] Rename some files to be more cross platform
4 years ago
nmarghetti
4e9df33cb7
[New] install script: Allow installation from other repository
4 years ago
hjoshi123
f3fa157456
[Fix] `bash_completion`: move compinit before bashcompinit
4 years ago