File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313 "require" : {
1414 "php" : " >=8.2" ,
1515 "ergebnis/json-printer" : " ^3.5" ,
16- "inertiajs/inertia-laravel" : " >=1 .0" ,
16+ "inertiajs/inertia-laravel" : " ^1.0|^2 .0" ,
1717 "laravel/framework" : " >=11.0" ,
1818 "laravel/prompts" : " >=0.1" ,
1919 "symfony/console" : " >=7.0"
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function handle(): void
6161
6262 $ this ->js = $ this ->option ('ts ' ) ? 'ts ' : 'js ' ;
6363
64- $ this ->composer = new Composer (new Filesystem () , $ cwd );
64+ $ this ->composer = new Composer (new Filesystem , $ cwd );
6565
6666 $ this ->npm = $ this ->createNpm ($ cwd );
6767
@@ -149,7 +149,7 @@ protected function installInertiaLaravel(): void
149149 $ this ->info (' Installing inertiajs/inertia-laravel package ' );
150150
151151 $ this ->runProcessCommand (
152- $ this ->findComposer ().' require inertiajs/inertia-laravel ' ,
152+ $ this ->findComposer ().' require inertiajs/inertia-laravel:^2.0 ' ,
153153 workingPath: base_path ()
154154 );
155155
@@ -387,7 +387,7 @@ protected function installInertiaVue(): void
387387 {
388388 $ this ->info (' Installing @inertiajs/vue3 ' );
389389
390- $ this ->npm ->addDev ('@inertiajs/vue3 ' , '^1 .0.15 ' );
390+ $ this ->npm ->addDev ('@inertiajs/vue3 ' , '^2 .0.0 ' );
391391
392392 $ js = $ this ->js ;
393393
You can’t perform that action at this time.
0 commit comments