Skip to content

Commit

Permalink
Update to prettier v3
Browse files Browse the repository at this point in the history
  • Loading branch information
dommer1 authored Mar 20, 2024
2 parents b90f749 + 929ccf9 commit bae2af2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/StarterKitServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});

Expand Down
4 changes: 2 additions & 2 deletions stubs/.prettierrc.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down

0 comments on commit bae2af2

Please sign in to comment.