v0.38.0
版本发布时间: 2021-03-30 04:24:08
nvm-sh/nvm最新发布版本:v0.40.1(2024-08-28 04:45:26)
New Stuff
-
install
: add parallel build support for openbsd (#2390) -
install
: add-b
flag to skip building from source (#2439) - install script: Allow installation from other repository also for git method (#2401)
- install script: Allow installation from other repository (#2394)
Fixes
-
exec
:--
should stop argument parsing (#2354) -
nvm_alias
: ensurelts/-1
returns the one beforelts/*
(#2462) - install script: define
nvm_echo
- Fix potential unbound var error on nvm install (#2421)
- avoid parse error with common omz global aliases, in
nvm_print_color_code
(#2365) - install script: sync
nvm_download
implementation from nvm.sh (#2406) - remove
nvm_supports_source_options
(#2402) -
bash_completion
: move compinit before bashcompinit (#2393) - relax
$PREFIX
checking, to accomodatenpm exec
- Use local variable when looping over args (#2377)
-
install
: Ignore npm command under $NVM_DIR when checking for global modules (#2348)
Refactors
- add
nvm_install_binary_extract
- add
nvm_get_artifact_compression
- fix silly shellcheck complaint
Docs
- Add macOS troubleshooting instructions for M1 chip (#2416, #2436, #2232)
- Update source command to include s in zsh (#2466)
- Add
nvs
as one of the Windows alternatives (#2454) - add headings to certain sections (#2457)
- add commands to help troubleshoot without closing the current shell (#2202)
- update
cdnvm
implementation (#2442) - add install error tips (#2400)
- quote asterisk in shell command on
--latest-npm
example (#2431) - Updated README.md to include homebrew unsecure dirs warning (#2388)
- source
./nvm.sh
instead ofnvm.sh
, forzsh
(#2205) - add CODE_OF_CONDUCT.md
Tests
- Rename some files to be more cross platform (#2397)
- [actions] update workflows (#2427)
- [Dev Deps] update
dockerfile_lint
,doctoc
,eclint
,replace
,semver
- ensure
doctoc
action fails when it should - update mocks
- Add unit test for nvm_download
- add
nvm_grep
to install script, fix tests (#2403 -
.npm
is now cached by default (#2104) -
release
: clobber local tags