From df0bae65bfdaa682930aded498650df6435d6f2d Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 30 Jan 2025 08:14:02 +0100 Subject: [PATCH] update bun lockfile --- src/Console/InstallCommand.php | 1 + src/Console/InstallsBladeStack.php | 2 +- src/Console/InstallsInertiaStacks.php | 4 ++-- src/Console/InstallsLivewireStack.php | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 17be8c5fb..0de4458f1 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -297,6 +297,7 @@ protected static function flushNodeModules() $files->delete(base_path('pnpm-lock.yaml')); $files->delete(base_path('yarn.lock')); + $files->delete(base_path('bun.lock')); $files->delete(base_path('bun.lockb')); $files->delete(base_path('deno.lock')); $files->delete(base_path('package-lock.json')); diff --git a/src/Console/InstallsBladeStack.php b/src/Console/InstallsBladeStack.php index c5a078c5d..78f700b69 100644 --- a/src/Console/InstallsBladeStack.php +++ b/src/Console/InstallsBladeStack.php @@ -76,7 +76,7 @@ protected function installBladeStack() $this->runCommands(['pnpm install', 'pnpm run build']); } elseif (file_exists(base_path('yarn.lock'))) { $this->runCommands(['yarn install', 'yarn run build']); - } elseif (file_exists(base_path('bun.lockb'))) { + } elseif (file_exists(base_path('bun.lock')) || file_exists(base_path('bun.lockb'))) { $this->runCommands(['bun install', 'bun run build']); } elseif (file_exists(base_path('deno.lock'))) { $this->runCommands(['deno install', 'deno task build']); diff --git a/src/Console/InstallsInertiaStacks.php b/src/Console/InstallsInertiaStacks.php index acd5b8316..5040711ee 100644 --- a/src/Console/InstallsInertiaStacks.php +++ b/src/Console/InstallsInertiaStacks.php @@ -181,7 +181,7 @@ protected function installInertiaVueStack() $this->runCommands(['pnpm install', 'pnpm run build']); } elseif (file_exists(base_path('yarn.lock'))) { $this->runCommands(['yarn install', 'yarn run build']); - } elseif (file_exists(base_path('bun.lockb'))) { + } elseif (file_exists(base_path('bun.lock')) || file_exists(base_path('bun.lockb'))) { $this->runCommands(['bun install', 'bun run build']); } else { $this->runCommands(['npm install', 'npm run build']); @@ -401,7 +401,7 @@ protected function installInertiaReactStack() $this->runCommands(['pnpm install', 'pnpm run build']); } elseif (file_exists(base_path('yarn.lock'))) { $this->runCommands(['yarn install', 'yarn run build']); - } elseif (file_exists(base_path('bun.lockb'))) { + } elseif (file_exists(base_path('bun.lockb')) || file_exists(base_path('bun.lock'))) { $this->runCommands(['bun install', 'bun run build']); } elseif (file_exists(base_path('deno.lock'))) { $this->runCommands(['deno install', 'deno task build']); diff --git a/src/Console/InstallsLivewireStack.php b/src/Console/InstallsLivewireStack.php index 93c75abd9..40b818568 100644 --- a/src/Console/InstallsLivewireStack.php +++ b/src/Console/InstallsLivewireStack.php @@ -104,7 +104,7 @@ protected function installLivewireStack($functional = false) $this->runCommands(['pnpm install', 'pnpm run build']); } elseif (file_exists(base_path('yarn.lock'))) { $this->runCommands(['yarn install', 'yarn run build']); - } elseif (file_exists(base_path('bun.lockb'))) { + } elseif (file_exists(base_path('bun.lock')) || file_exists(base_path('bun.lockb'))) { $this->runCommands(['bun install', 'bun run build']); } elseif (file_exists(base_path('deno.lock'))) { $this->runCommands(['deno install', 'deno task build']);