From 1fcd3d915a7d2440f551d0e284e688df99ed29f1 Mon Sep 17 00:00:00 2001 From: Lucas Yang Date: Sat, 14 Dec 2024 20:37:23 +0800 Subject: [PATCH] Bump npm packages version --- src/Console/InstallCommand.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 4b9028a..d329862 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -288,8 +288,8 @@ protected function installVue(): void { $this->info(' Installing vue'); - $this->npm->addDev('vue', '^3.4.0'); - $this->npm->addDev('@vitejs/plugin-vue', '^5.0.0'); + $this->npm->addDev('vue', '^3.5.0'); + $this->npm->addDev('@vitejs/plugin-vue', '^6.0.0'); $js = $this->js; @@ -330,14 +330,14 @@ protected function installTypescript(): void $this->info(' Installing typescript'); // install typescript - $this->npm->addDev('typescript', '~5.4.0'); + $this->npm->addDev('typescript', '~5.6.3'); $this->npm->addDev('@types/node', '^20.0.0'); $this->npm->addDev('@tsconfig/node20', '^20.0.0'); // install typescript for vue - $this->npm->addDev('vue-tsc', '^2.0.17'); - $this->npm->addDev('@vue/tsconfig', '^0.5.1'); - $this->npm->script('type-check', 'vue-tsc --build --force'); + $this->npm->addDev('vue-tsc', '^2.1.10'); + $this->npm->addDev('@vue/tsconfig', '^0.7.0'); + $this->npm->script('type-check', 'vue-tsc --build'); foreach ([ 'tsconfig.json',