Commit Graph

2189 Commits

Author SHA1 Message Date
Kid
787cc5c883 Merge 1f13a1f04f into e597bb208e 2024-06-13 14:54:59 +00:00
Jordan Harband
e597bb208e [Tests] use a better JSON parsing implementation 2024-06-10 11:33:12 -07:00
Jordan Harband
aa427ad396 [Tests] ensure travis can access public repo submodules 2024-06-10 09:15:16 -07:00
Jordan Harband
c20db2ab86 [actions] improve default action permissions 2024-06-10 08:59:48 -07:00
Jordan Harband
29dce5edfd [New] allow .nvmrc files to support comments
In theory, `npx nvmrc` can now be used to validate an `.nvmrc` file that `nvm` will support. Allowances have been made for future extensibility, and aliases may no longer contain a `#`.

Fixes #3336. Closes #2288.

Co-authored-by: Jordan Harband <ljharb@gmail.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2024-06-07 10:13:00 -07:00
Jordan Harband
95081f0bc2 [readme] update CII badge URLs 2024-06-06 14:19:11 -07:00
Jordan Harband
1750b8d327 [actions] update vampire/setup-wsl action 2024-05-30 12:37:36 -07:00
Jordan Harband
97093dc1b3 [Dev Deps] update markdown-link-check, semver 2024-05-30 12:36:26 -07:00
Jordan Harband
811c039e2b [actions] finisher tweaks 2024-03-08 22:28:53 -08:00
Huy Z
294ff9e3aa [readme] Fix uninstall instructions
`nvm unload` will unset NVM_DIR. So gotta save NVM_DIR first.
2024-02-13 03:39:07 -08:00
Raphael Boidol
c24c3134a7 [actions] update action versions to use node 20 2024-02-18 21:56:53 +01:00
Jordi Paris Ferrer
c82e7a6f62 Fix typo in WSL section of README
`u` -> `you`
2024-02-17 16:39:36 -08:00
jbidad
4e2a71ba9b [Docs] add nvm unload to uninstall nvm instructions 2024-01-18 12:07:01 +03:30
Jordan Harband
6c9cd2f2d1 [security] fix typo in threat model 2023-12-15 09:46:35 -08:00
Jordan Harband
bab86d5de5 v0.39.7 v0.39.7 2023-12-05 21:50:27 -08:00
Jordan Harband
d86f270438 [Fix] use \hash instead of command hash for zsh
See #3239; Fixes #3247; Closes #3246
2023-12-05 21:48:51 -08:00
Jordan Harband
c73009f503 v0.39.6 v0.39.6 2023-12-04 22:03:25 -08:00
Kid
1f13a1f04f Update fnm link in README 2021-07-18 18:32:40 +08: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 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
Rodrigo Espinosa de los Monteros
4da7f101a2 [Fix] nvm_alias: ensure lts/-1 returns the one before lts/*
Fixes #2461
2021-03-11 16:22:31 -05:00
Jordan Harband
641f86879f [Tests] update mocks
- make call count test depend on mocks
2021-03-11 13:06:41 -08:00
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>
2020-12-26 22:23:35 +05:30
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>
2020-11-20 13:06:28 +02:00
Sladyn Nunes
4fdef427e4 [New] install: add -b flag to skip building from source
Fixes #2114.
2021-02-16 19:34:23 +05:30
farmer
d9b11ba208 [readme] update cdnvm implementation 2021-02-19 21:12:03 +08:00
Jordan Harband
87f37909f2 [meta] add CODE_OF_CONDUCT.md 2021-02-15 14:33:44 -08:00