Commit Graph

29 Commits

Author SHA1 Message Date
Ricky Bobby
f9670e18a6 Please enter the commit message for your changes. Lines starting
with '' will be ignored, and an empty message aborts the commit.

 On branch master
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
	new file:   .github/__init__.py
	new file:   .github/workflows/__init__.py
	new file:   .vscode/__init__.py
	new file:   __init__.py
	new file:   test/__init__.py
	new file:   test/fast/Aliases/__init__.py
	new file:   test/fast/Aliases/circular/__init__.py
	new file:   test/fast/Aliases/lts/__init__.py
	new file:   test/fast/Listing paths/__init__.py
	new file:   test/fast/Listing versions/__init__.py
	new file:   test/fast/Set Colors/__init__.py
	new file:   test/fast/Unit tests/__init__.py
	new file:   test/fast/Unit tests/mocks/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/inside-n_m-nested-pkg/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/inside-n_m-nested/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-both/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-both/a/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-both/a/b/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-both/a/b/c/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-both/a/b/c/d/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-n_m/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-n_m/a/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-n_m/a/b/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-n_m/a/b/c/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-n_m/a/b/c/d/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-pkg/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-pkg/a/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-pkg/a/b/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-pkg/a/b/c/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/nested-pkg/a/b/c/d/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/no-nesting-both/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/no-nesting-n_m/__init__.py
	new file:   test/fast/Unit tests/mocks/project_dirs/no-nesting-pkg/__init__.py
	new file:   test/fast/__init__.py
	new file:   test/install_script/__init__.py
	new file:   test/installation_iojs/__init__.py
	new file:   test/installation_node/__init__.py
	new file:   test/mocks/__init__.py
	new file:   test/slow/__init__.py
	new file:   test/slow/nvm exec/__init__.py
	new file:   test/slow/nvm reinstall-packages/__init__.py
	new file:   test/slow/nvm reinstall-packages/test-npmlink/__init__.py
	new file:   test/slow/nvm run/__init__.py
	new file:   test/slow/nvm uninstall/__init__.py
	new file:   test/slow/nvm use/__init__.py
	new file:   test/slow/nvm_get_latest/__init__.py
	new file:   test/sourcing/__init__.py
	new file:   test/xenial/__init__.py
2024-04-15 20:34:57 +00:00
Jordan Harband
bf438742a7
[Tests] move installation_node tests back to xenial 2022-12-22 16:16:10 -08:00
Jordan Harband
447940acb3
[Tests] move tests that fail on focal to a separate suite that runs on xenial 2022-12-22 11:26:27 -08:00
Luke Arms
81f0f3ec19
[Fix] set -E: Add test for node install on Bash with an ERR trap and set -E 2021-12-27 16:02:25 +11:00
Jordan Harband
ebbd30eb7f
[Fix] nvm install-latest-npm: ensure npm 8 does not install on unsupported nodes 2021-10-05 15:13:45 -07:00
Jordan Harband
07c02d43fe
[Tests] nvm install-latest-npm: node < 0.10 breaks with npm with dropped support for TLS < 1.2 2021-09-29 10:47:34 -07:00
Sladyn Nunes
4fdef427e4
[New] install: add -b flag to skip building from source
Fixes #2114.
2021-02-16 19:34:23 +05:30
Kayla Altepeter
a5aec107df
[New] adding default and alias option to nvm install
For: `nvm install 8.12.0` after install:

--alias=8 is equivalent to `nvm alias 8 8.12.0`
--default is equivalent to `nvm alias default 8.12.0`

Co-authored-by: Kayla Altepeter <kayla@kaylaaltepeter.com>
Co-authored-by: Dena Burd <me@Denas-MacBook-Air.local>
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2018-10-22 08:32:29 -05:00
Jordan Harband
6575b6b052
[Fix] install: improved arg parsing around --reinstall-packages-from
Fixes #1762
2020-06-04 16:15:39 -07:00
Jordan Harband
db19450caa
[Fix] default_packages: work when the file lacks a trailing newline
Fixes #1995.
2019-02-02 13:45:11 -08:00
Jordan Harband
5c117e6ab3
[Refactor] extract “get default packages” logic to nvm_get_default_packages 2019-02-01 13:27:18 -08:00
Jordan Harband
e7a37f336d
[Tests] fix failing tests on master due to npm registry SSL changes 2018-08-15 15:01:47 -07:00
Joshua Li
0cdc184168
[Fix] Improve nvm_is_version_installed to check for a node executable instead of root dir 2018-05-31 15:26:30 -07:00
Peter Dave Hello
41ec44f6b5 Add missing final newline in test script 2018-02-26 01:02:41 +08:00
Peter Dave Hello
2cd2c0f72e Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
Phileas Lebada
be171bba33 Add unset-variable as exit error 2017-11-15 17:19:05 +01:00
Jordan Harband
c0b56d03a1
[Fix] install-latest-npm: io.js v1.0.x has weird behavior with npm v4.6.x.
- comment out node 0.6 test due to travis-ci breakage
2017-09-07 15:57:09 -07:00
Jordan Harband
cbdd41eee2
[New] nvm install: add --latest-npm option to automatically try to upgrade to the latest working version of npm.
- also add `nvm install-latest-npm` top-level command
2017-06-11 14:15:04 -07:00
Peter Dave Hello
a66a9caa1c
[Tests] Use node v0.10.7 for thread para test as other install from src tests 2017-04-09 13:08:04 +08:00
Jordan Harband
b9f9977cdd
[Fix] nvm install -s: npm detection
- add `nvm_use_if_needed`
 - add `nvm_install_npm_if_needed`
2017-03-27 15:00:50 -07:00
Jordan Harband
affcc5087c [Fix] set -e: nvm install lts/something: call nvm_ensure_default_set with the proper value.
Fixes #1394.
2017-02-11 23:19:29 -08:00
Peter Dave Hello
9c92b5a4ea
[New] nvm install: Print the version that is being installed 2016-11-06 20:43:47 +08:00
Peter Dave Hello
f7763c8ba9
[Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Jordan Harband
24f8ae5c46
[New] support external install hook “$NVM_INSTALL_THIRD_PARTY_HOOK”.
Fixes #1207.
2016-11-03 23:42:55 -07:00
Qiangjun Ran
cadbbced20
[Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Jordan Harband
54cc3a383e
[Tests] set -ex options on more tests 2016-08-14 09:48:25 -07:00
Jordan Harband
655830eb58
[Tests] nvm install --lts: add tests 2016-06-26 13:57:01 -07:00
Jordan Harband
73aa35f508
[Tests] use $NVM_DIR instead of relative paths 2016-06-26 15:52:26 -07:00
Jordan Harband
c9b7ccdaea
Run node and io.js installation test suites separately. 2016-05-08 22:21:33 -07:00