From 6e1e7850a3e13a84d76d5b474a4d38a26924a22b Mon Sep 17 00:00:00 2001 From: HDVinnie Date: Wed, 13 Mar 2024 12:55:11 -0400 Subject: [PATCH] update: BroadcastingInstallCommand.php (#50525) - add support for bun --- .../Foundation/Console/BroadcastingInstallCommand.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php b/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php index b42987be7676..7e567ca7652a 100644 --- a/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php +++ b/src/Illuminate/Foundation/Console/BroadcastingInstallCommand.php @@ -163,6 +163,11 @@ protected function installNodeDependencies() 'yarn add --dev laravel-echo pusher-js', 'yarn run build', ]; + } elseif (file_exists(base_path('bun.lockb'))) { + $commands = [ + 'bun add --dev laravel-echo pusher-js', + 'bun run build', + ]; } else { $commands = [ 'npm install --save-dev laravel-echo pusher-js',