From 8cbf19b555dc666af7be9c7397d5fdd9d182f33d Mon Sep 17 00:00:00 2001 From: Dale Weaver <68517144+daleweaver777@users.noreply.github.com> Date: Tue, 2 Jul 2024 13:51:11 -0400 Subject: [PATCH] Bump vue-tsc to v2 (#391) vue-tsc v1 crashes with typescript v5.5 and newer. Upgrade to vue-tsc v2 to fix. https://github.com/vuejs/language-tools/issues/4484 --- src/Console/InstallsInertiaStacks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Console/InstallsInertiaStacks.php b/src/Console/InstallsInertiaStacks.php index 66763e57..aa259a33 100644 --- a/src/Console/InstallsInertiaStacks.php +++ b/src/Console/InstallsInertiaStacks.php @@ -35,8 +35,8 @@ protected function installInertiaVueStack() if ($this->option('typescript')) { $this->updateNodePackages(function ($packages) { return [ - 'typescript' => '^5.0.2', - 'vue-tsc' => '^1.8.27', + 'typescript' => '^5.5.3', + 'vue-tsc' => '^2.0.24', ] + $packages; }); }