From 929ccf97775aba6797b5c91742e017bfd7e0d030 Mon Sep 17 00:00:00 2001 From: Dominik Mery Date: Thu, 29 Feb 2024 20:46:18 +0100 Subject: [PATCH] Update --- src/StarterKitServiceProvider.php | 2 +- stubs/.prettierrc.stub | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/StarterKitServiceProvider.php b/src/StarterKitServiceProvider.php index 44ea799..ff8153c 100644 --- a/src/StarterKitServiceProvider.php +++ b/src/StarterKitServiceProvider.php @@ -91,7 +91,7 @@ protected function installPrettier(InstallCommand $command): void $command->comment('Installing prettier...'); Process::path(base_path()) - ->run('npm install -D prettier@^2.0.2 prettier-plugin-blade prettier-plugin-tailwindcss@^0.4.1', function (string $type, string $output) { + ->run('npm install -D prettier@^3.2.5 prettier-plugin-blade prettier-plugin-tailwindcss@^0.5.11', function (string $type, string $output) { echo $output; }); diff --git a/stubs/.prettierrc.stub b/stubs/.prettierrc.stub index 49b1216..d5bc3a2 100644 --- a/stubs/.prettierrc.stub +++ b/stubs/.prettierrc.stub @@ -4,8 +4,8 @@ "tabWidth": 4, "tailwindConfig": "./tailwind.config.js", "plugins": [ - "./node_modules/prettier-plugin-blade/", - "./node_modules/prettier-plugin-tailwindcss/" + "prettier-plugin-blade", + "prettier-plugin-tailwindcss" ], "overrides": [ {