Skip to content

Commit

Permalink
chore: Update tailwind-prettier package and fix errors (#4362)
Browse files Browse the repository at this point in the history
* Update package and fix errors

* Test

* Test

* Update prettier
  • Loading branch information
samuveth authored Nov 17, 2023
1 parent 449508b commit 4c464c8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"patch-package": "^7.0.0",
"postcss": "^8.4.28",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "0.4.1",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",
"rollup-plugin-visualizer": "^5.9.0",
"sass": "~1.62.1",
"sass-loader": "^13.2.2",
Expand Down
6 changes: 4 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import formsPlugin from '@tailwindcss/forms';

module.exports = {
content: ['./index.html', './src/**/*.{js,ts,vue}'],
theme: {
Expand Down Expand Up @@ -64,8 +66,8 @@ module.exports = {
}
},
plugins: [
require('prettier-plugin-tailwindcss'),
require('@tailwindcss/forms')({
'prettier-plugin-tailwindcss',
formsPlugin({
strategy: 'class'
})
]
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6206,15 +6206,15 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier-plugin-tailwindcss@0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.4.1.tgz#f7ed664199540978b2cbd037bac3a337d6689e86"
integrity sha512-hwn2EiJmv8M+AW4YDkbjJ6HlZCTzLyz1QlySn9sMuKV/Px0fjwldlB7tol8GzdgqtkdPtzT3iJ4UzdnYXP25Ag==
prettier-plugin-tailwindcss@^0.5.7:
version "0.5.7"
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.7.tgz#d05dc42c6f2167e3bf2c20e9f71a1fff4232b5d9"
integrity sha512-4v6uESAgwCni6YF6DwJlRaDjg9Z+al5zM4JfngcazMy4WEf/XkPS5TEQjbD+DZ5iNuG6RrKQLa/HuX2SYzC3kQ==

prettier@^2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e"
integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==

pretty-format@^29.5.0:
version "29.6.1"
Expand Down

1 comment on commit 4c464c8

@vercel
Copy link

@vercel vercel bot commented on 4c464c8 Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.