Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down
2 changes: 1 addition & 1 deletion src/Console/InstallsBladeStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down
4 changes: 2 additions & 2 deletions src/Console/InstallsInertiaStacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down Expand Up @@ -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']);
Expand Down
2 changes: 1 addition & 1 deletion src/Console/InstallsLivewireStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down