Skip to content

Commit 11149b9

Browse files
authored
Merge pull request #23 from rema424/rema424-patch-1
fix: Ensure Inertia.js version consistency between frontend and backend
2 parents 69ec1e6 + 28d2706 commit 11149b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/InstallsInertiaStacks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ trait InstallsInertiaStacks
1818
protected function installInertiaSvelteStack()
1919
{
2020
// Install Inertia...
21-
if (! $this->requireComposerPackages(['inertiajs/inertia-laravel:^1.0', 'laravel/sanctum:^4.0', 'tightenco/ziggy:^2.0'])) {
21+
if (! $this->requireComposerPackages(['inertiajs/inertia-laravel:^2.0', 'laravel/sanctum:^4.0', 'tightenco/ziggy:^2.0'])) {
2222
return 1;
2323
}
2424

@@ -66,7 +66,7 @@ protected function installInertiaSvelteStack()
6666
] + $packages;
6767
});
6868

69-
69+
7070
$this->updateNodeScripts(function ($scripts) {
7171
return $scripts + [
7272
'check' => 'svelte-check --tsconfig ./tsconfig.json',

0 commit comments

Comments
 (0)