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": [ {