From 39ca6cade1dfcdd50566233f73722cf944eeb835 Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Thu, 24 Nov 2022 17:29:25 +0000 Subject: [PATCH 1/2] Added --with-all-dependencies to installGlobal() Signed-off-by: Tom Wright --- src/Integra/Context.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Integra/Context.php b/src/Integra/Context.php index e2f6b50..d886ff6 100644 --- a/src/Integra/Context.php +++ b/src/Integra/Context.php @@ -414,7 +414,7 @@ public function installGlobal( string $name, string ...$other ): bool { - return $this->runGlobal('require', $name, ...$other); + return $this->runGlobal(...['require', $name, ...$other, '--with-all-dependencies']); } /** @@ -424,7 +424,7 @@ public function installDevGlobal( string $name, string ...$other ): bool { - return $this->runGlobal(...['require', $name, ...$other, '--dev']); + return $this->runGlobal(...['require', $name, ...$other, '--dev', '--with-all-dependencies']); } /** From eca9a357e43502d1b0d4154eec518c7fc00b6f0e Mon Sep 17 00:00:00 2001 From: Tom Wright Date: Thu, 24 Nov 2022 17:51:04 +0000 Subject: [PATCH 2/2] Updated changelog Signed-off-by: Tom Wright --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa68c25..cabb8b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,5 @@ +## v0.1.1 (2022-11-24) +* Added --with-all-dependencies to global installs + ## v0.1.0 (2022-11-24) * Built initial implementation