diff --git a/package-lock.json b/package-lock.json index 63d8b49..082bf47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "postcss": "^8.4.32", "prettier": "^3.2.5", "prettier-plugin-blade": "^2.1.12", + "prettier-plugin-tailwindcss": "^0.5.14", "tailwindcss": "^3.4.0", "vite": "^5.0", "vitepress": "^1.0.2", @@ -4024,6 +4025,80 @@ "prettier": ">=3" } }, + "node_modules/prettier-plugin-tailwindcss": { + "version": "0.5.14", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.14.tgz", + "integrity": "sha512-Puaz+wPUAhFp8Lo9HuciYKM2Y2XExESjeT+9NQoVFXZsPPnc9VYss2SpxdQ6vbatmt8/4+SN0oe0I1cPDABg9Q==", + "dev": true, + "engines": { + "node": ">=14.21.3" + }, + "peerDependencies": { + "@ianvs/prettier-plugin-sort-imports": "*", + "@prettier/plugin-pug": "*", + "@shopify/prettier-plugin-liquid": "*", + "@trivago/prettier-plugin-sort-imports": "*", + "@zackad/prettier-plugin-twig-melody": "*", + "prettier": "^3.0", + "prettier-plugin-astro": "*", + "prettier-plugin-css-order": "*", + "prettier-plugin-import-sort": "*", + "prettier-plugin-jsdoc": "*", + "prettier-plugin-marko": "*", + "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-pug": { + "optional": true + }, + "@shopify/prettier-plugin-liquid": { + "optional": true + }, + "@trivago/prettier-plugin-sort-imports": { + "optional": true + }, + "@zackad/prettier-plugin-twig-melody": { + "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-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/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", diff --git a/package.json b/package.json index 703b8e0..e2a35e5 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "postcss": "^8.4.32", "prettier": "^3.2.5", "prettier-plugin-blade": "^2.1.12", + "prettier-plugin-tailwindcss": "^0.5.14", "tailwindcss": "^3.4.0", "vite": "^5.0", "vitepress": "^1.0.2", diff --git a/prettier.config.js b/prettier.config.js index cc11903..0dffb9b 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,5 +1,5 @@ export default { - plugins: ['prettier-plugin-blade'], + plugins: ['prettier-plugin-blade', 'prettier-plugin-tailwindcss'], singleQuote: true, overrides: [ { diff --git a/resources/views/api/api-token-manager.blade.php b/resources/views/api/api-token-manager.blade.php index e4016a4..0a759d8 100644 --- a/resources/views/api/api-token-manager.blade.php +++ b/resources/views/api/api-token-manager.blade.php @@ -31,7 +31,7 @@ class="mt-1 block w-full" value="{{ __('Permissions') }}" /> -