Commit Graph

2020 Commits (59b0b3942cc9b3c997211104c033ffb03992ed26)

Author SHA1 Message Date
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
Thomas Geirhovd e98e9d9e4b
[Fix] `install`: Detect correct profile based on $SHELL var 2021-08-12 15:51:32 +02:00
Jordan Harband 812d6e4ab4
[actions] fix typo in dockerfile_lint job 2021-08-05 08:35:22 -07:00
Jordan Harband 7f2ccd51d4
[Fix] `nvm_get_arch`: suppress error output if `/sbin` does not exist
Introduced by #2469
2021-08-05 08:05:54 -07:00
Jordan Harband 7ba49f8f71
[actions] use `node/install` instead of `node/run` 2021-07-27 22:23:56 -07:00
Jordan Harband eed0d0e85c
[meta] add project charter and governance 2021-04-26 12:56:08 -07:00
Jordan Harband ad24e96fda
[shellcheck] disable additional `-x` warning from v0.7.2 2021-05-03 14:26:45 -07:00
Jordan Harband b5165ecbe4
[shellcheck] update for new warnings in v0.7.2 2021-05-03 14:19:31 -07:00
Jordan Harband fc87226b23
[readme] move License and Copyright notice sections to the bottom 2021-04-26 11:46:12 -07:00
Jordan Harband f3caa06420
[meta] add OpenJS Foundation copyright notices/links 2021-04-26 11:42:03 -07:00
Jordan Harband 1527ac9d21
[readme] remove redundant "license" section text in favor of LICENSE.md 2021-04-26 11:41:29 -07:00
Jordan Harband bd0ac1e96d
[meta] add `SECURITY.md` 2021-04-22 22:28:41 -07:00
akefirad 117486d4a7
[Fix] `bash_completion`: check if `compinit` is called before calling it
Fixes #2489.
2021-04-16 18:53:35 +02:00
Jordan Harband 07253ecd51
[actions] adjust shellcheck/windows tests to9 have a final "done" job 2021-04-15 22:34:40 -07:00
nmarghetti f2582275f6
[New] maybe support Windows with WSL, MSYS, Cygwin 2021-01-02 00:03:24 +01:00
nmarghetti d118be8fd4
[Tests] Add unit tests for `nvm_is_version_installed` 2021-02-21 18:48:43 +01:00
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.
2021-04-05 16:25:41 +01:00
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>
2021-03-22 14:56:25 -05:00
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>
2021-04-01 19:06:40 +05:30
Jordan Harband f534fde760
[Tests] `node-gyp` v8 breaks this test 2021-04-06 12:36:07 -07:00
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
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>
2020-04-26 12:57:50 -05:00