diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 17be8c5f..0de4458f 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 c5a078c5..78f700b6 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 acd5b831..5040711e 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 93c75abd..40b81856 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']);