Tiffany Patek
2c7c21e182
Merge 09c4fcfbed1d52857a4c90fade31f18058f5bf9b into 1be4257e96c4f86a4c5c182b5229825ba39088d2
2024-11-04 11:59:40 +01:00
Jordan Harband
1be4257e96
[Tests] update mocks
2024-10-31 14:23:36 -07:00
Cheerag Patel
9c9ff4bac0
[meta] Rename .github/ISSUE_TEMPLATE.md to .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md
...
Moved issue template into ISSUE_TEMPLATE folder
2024-10-30 14:03:05 -07:00
Jordan Harband
51ea809d63
[Tests] ensure that unit tests use only mocked LTS names
2024-10-30 23:41:50 -07:00
Jordan Harband
6b70c40f15
[Fix] nvm_install_latest_npm
: avoid unbound variable
...
Fixes #3447
2024-10-22 22:02:01 -07:00
Reetik Rajan
5dc31ac51b
[patch] give a more helpful message when lts
alias is mistakenly used
2024-10-05 09:21:42 +05:30
Jordan Harband
da2720a429
[Fix] nvm ls
, nvm alias
, nvm install
: error when an LTS name is invalid
2024-09-04 13:55:11 -07:00
Jordan Harband
9fb9dec710
[Fix] nvm_normalize_lts
: error when an LTS name is not lowercase
...
Fixes #3417
2024-09-04 13:54:41 -07:00
Jordan Harband
9a28dbd394
[actions] use node/install
instead of node/run
2024-08-28 11:28:52 -07:00
Jordan Harband
179d45050b
v0.40.1
v0.40.1
2024-08-27 13:44:15 -07:00
Jordan Harband
ff7634577b
[Tests] fix broken tests exposed by 863bd63
...
Leaves 2 non-executable, + some TODOs
2024-08-27 12:46:40 -07:00
Jordan Harband
0ce8f5a52f
[Fix] nvm_download
: ensure all args are quoted
...
Fixes #3411 .
2024-08-20 22:33:38 -07:00
Jordan Harband
863bd63cfa
[Tests] set proper permissions on test files
2024-08-23 17:23:12 -07:00
Jordan Harband
0d53381666
[Tests] move sourcing suite to GHA
2024-08-22 13:30:55 -07:00
Jordan Harband
df70535248
[Fix] nvm_auto
: Fix bug introduced in c31a867
2024-08-21 10:54:19 -07:00
Jordan Harband
c31a867c46
[Fix] --save
: avoid a conflict with set -e
...
Fixes #3405 .
2024-08-10 15:52:24 +12:00
Jordan Harband
a8c418558a
[Refactor] --save
: clean up some usage
2024-08-20 16:21:45 -07:00
Jordan Harband
d5e2c92a25
[Fix] nvm_has_colors
: avoid an aliased tput
...
Fixes #3413
2024-08-20 09:23:45 -07:00
Jordan Harband
81f18bc445
[patch] install.sh
: fix node capitalization
2024-08-09 13:46:16 +12:00
Jordan Harband
4beab63631
[Fix] declare an unbound variable
...
Fixes #3402
2024-08-07 17:38:37 +12:00
Jordan Harband
14acd3dcdd
[Fix] nvm install -b
: do not attempt to download source on a failed binary download with -b
...
Fixes #3399
2024-08-01 10:35:37 -07:00
Jordan Harband
271720ebfc
[Fix] nvm install -b
: when no binary is available, fail and output a clear message
2024-08-01 13:57:22 -07:00
Jordan Harband
423ee82b4c
[Tests] fix nvm ls-remote
unit test
2024-08-01 10:22:28 -07:00
Jordan Harband
deac4e0932
v0.40.0
v0.40.0
2024-07-30 12:50:18 -07:00
Jordan Harband
b5118ac365
[Dev Deps] update semver
2024-07-30 11:35:15 -07:00
Jordan Harband
24deac7ac5
[readme] add OpenJS Ecosystem Sustainability Program partner
...
- https://openjsf.org/ecosystem-sustainability-program
2024-07-30 10:08:48 -07:00
Jordan Harband
ff1257e8e3
[Refactor] nvm_has_colors
: also check the env var
2024-07-28 18:01:14 -07:00
Jordan Harband
87a709741f
[Fix] nvm_get_default_packages
: use awk
for more reliable file processing
...
See db19450caa
Fixes #3382
2024-07-28 10:02:08 -07:00
Tiffany Patek
09c4fcfbed
Update README.md
...
Install & Update Script Section
- Line 96: Added **If you use macOS, you must install Xcode and agree to the Xcode License before you install nvm.**under heading.
- Line 106: Added **If you don't have a profile file in your home dir, you'll need to add the appropriate one before you run the script.** to the end of the paragraph.
2023-04-19 14:16:50 -06: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
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
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
Martin
f439acda4a
[New] nvm use
/nvm install
: add --save
option
...
Fixes #2849 .
Co-authored-by: Martin <maartin00000@gmail.com>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2022-08-29 16:01:36 +01:00
Ally Summers
dd89af53f5
[patch] Fix issue where zsh global aliases would break nvm help
...
Fix issue with the color codes in the nvm help text where zsh global aliases would display an inline error in the nvm help text.
2024-07-26 03:35:55 +10:00
David Welch
bd090ef7f8
[New] Add support for NVM_AUTH_HEADER
env var
...
Closes #3366
Co-authored-by: David Welch <david@davidwelch.co>
Co-authored-by: Andre Kradolfer <narfdre@gmail.com>
2024-06-21 08:55:22 -06:00