Skip to content

A self-hosted media server and file management system

chore: install tailwind prettier plugin

aminnausin088320292122
diff --git a/.prettierrc.json b/.prettierrc.json
index 60326bd4..7a0c6f80 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -2,6 +2,9 @@
"$schema": "https://json.schemastore.org/prettierrc",
"semi": true,
"singleQuote": true,
+ "plugins": [
+ "prettier-plugin-tailwindcss"
+ ],
"tabWidth": 4,
"printWidth": 180,
"overrides": [
diff --git a/package-lock.json b/package-lock.json
index 098087e1..1929fa3e 100755
--- a/package-lock.json
+++ b/package-lock.json
@@ -67,6 +67,7 @@
"laravel-vite-plugin": "^1.0.0",
"postcss": "^8.4.47",
"prettier": "3.5.3",
+ "prettier-plugin-tailwindcss": "^0.6.11",
"pusher-js": "^8.4.0-rc2",
"tailwind-scrollbar-hide": "^1.1.7",
"tailwindcss": "^3.4.17",
@@ -6961,6 +6962,93 @@
"node": ">=6.0.0"
}
},
+ "node_modules/prettier-plugin-tailwindcss": {
+ "version": "0.6.14",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.14.tgz",
+ "integrity": "sha512-pi2e/+ZygeIqntN+vC573BcW5Cve8zUB0SSAGxqpB4f96boZF4M3phPVoOFCeypwkpRYdi7+jQ5YJJUwrkGUAg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.21.3"
+ },
+ "peerDependencies": {
+ "@ianvs/prettier-plugin-sort-imports": "*",
+ "@prettier/plugin-hermes": "*",
+ "@prettier/plugin-oxc": "*",
+ "@prettier/plugin-pug": "*",
+ "@shopify/prettier-plugin-liquid": "*",
+ "@trivago/prettier-plugin-sort-imports": "*",
+ "@zackad/prettier-plugin-twig": "*",
+ "prettier": "^3.0",
+ "prettier-plugin-astro": "*",
+ "prettier-plugin-css-order": "*",
+ "prettier-plugin-import-sort": "*",
+ "prettier-plugin-jsdoc": "*",
+ "prettier-plugin-marko": "*",
+ "prettier-plugin-multiline-arrays": "*",
+ "prettier-plugin-organize-attributes": "*",
+ "prettier-plugin-organize-imports": "*",
+ "prettier-plugin-sort-imports": "*",
+ "prettier-plugin-style-order": "*",
+ "prettier-plugin-svelte": "*"
+ },
+ "peerDependenciesMeta": {
+ "@ianvs/prettier-plugin-sort-imports": {
+ "optional": true
+ },
+ "@prettier/plugin-hermes": {
+ "optional": true
+ },
+ "@prettier/plugin-oxc": {
+ "optional": true
+ },
+ "@prettier/plugin-pug": {
+ "optional": true
+ },
+ "@shopify/prettier-plugin-liquid": {
+ "optional": true
+ },
+ "@trivago/prettier-plugin-sort-imports": {
+ "optional": true
+ },
+ "@zackad/prettier-plugin-twig": {
+ "optional": true
+ },
+ "prettier-plugin-astro": {
+ "optional": true
+ },
+ "prettier-plugin-css-order": {
+ "optional": true
+ },
+ "prettier-plugin-import-sort": {
+ "optional": true
+ },
+ "prettier-plugin-jsdoc": {
+ "optional": true
+ },
+ "prettier-plugin-marko": {
+ "optional": true
+ },
+ "prettier-plugin-multiline-arrays": {
+ "optional": true
+ },
+ "prettier-plugin-organize-attributes": {
+ "optional": true
+ },
+ "prettier-plugin-organize-imports": {
+ "optional": true
+ },
+ "prettier-plugin-sort-imports": {
+ "optional": true
+ },
+ "prettier-plugin-style-order": {
+ "optional": true
+ },
+ "prettier-plugin-svelte": {
+ "optional": true
+ }
+ }
+ },
"node_modules/progress": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
diff --git a/package.json b/package.json
index 8239950e..d0eee26e 100755
--- a/package.json
+++ b/package.json
@@ -81,6 +81,7 @@
"laravel-vite-plugin": "^1.0.0",
"postcss": "^8.4.47",
"prettier": "3.5.3",
+ "prettier-plugin-tailwindcss": "^0.6.11",
"pusher-js": "^8.4.0-rc2",
"tailwind-scrollbar-hide": "^1.1.7",
"tailwindcss": "^3.4.17",