From ef64be05c018ff46b5ed65a87b03bec6775e9238 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Jan 2024 14:19:44 +0800 Subject: [PATCH] bump(deps): update dependency prettier-plugin-tailwindcss to ^0.5.10 (#249) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier-plugin-tailwindcss](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss) | [`^0.4.1` -> `^0.5.10`](https://renovatebot.com/diffs/npm/prettier-plugin-tailwindcss/0.4.1/0.5.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier-plugin-tailwindcss/0.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier-plugin-tailwindcss/0.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier-plugin-tailwindcss/0.4.1/0.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier-plugin-tailwindcss/0.4.1/0.5.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
tailwindlabs/prettier-plugin-tailwindcss (prettier-plugin-tailwindcss) ### [`v0.5.10`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#0510---2023-12-28) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.9...v0.5.10) ##### Changed - Bumped bundled version of Tailwind CSS to v3.4 ([#​235](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/235)) ### [`v0.5.9`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#059---2023-12-05) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.8...v0.5.9) ##### Fixed - Fixed location of embedded preflight CSS file ([#​231](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/231)) ### [`v0.5.8`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#058---2023-12-05) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.7...v0.5.8) ##### Added - Re-enable support for `prettier-plugin-marko` ([#​229](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/229)) ### [`v0.5.7`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#057---2023-11-08) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.6...v0.5.7) ##### Fixed - Fix sorting inside dynamic custom attributes ([#​225](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/225)) ### [`v0.5.6`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#056---2023-10-12) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6) ##### Fixed - Fix sorting inside `{{ … }}` expressions when using `@shopify/prettier-plugin-liquid` v1.3+ ([#​222](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/222)) ### [`v0.5.5`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#055---2023-10-03) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.4...v0.5.5) ##### Fixed - Sort classes inside `className` in Astro ([#​215](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/215)) - Support member access on function calls ([#​218](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/218)) ### [`v0.5.4`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#054---2023-08-31) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.3...v0.5.4) ##### Fixed - Type `tailwindFunctions` and `tailwindAttributes` as optional ([#​206](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/206)) - Don’t break `@apply … #{'!important'}` sorting in SCSS ([#​212](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/212)) ### [`v0.5.3`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#053---2023-08-15) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.2...v0.5.3) ##### Fixed - Fix CJS `__dirname` interop on Windows ([#​204](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/204)) ### [`v0.5.2`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#052---2023-08-11) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.1...v0.5.2) ##### Fixed - Fix intertop with bundled CJS dependencies ([#​199](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/199)) ### [`v0.5.1`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#051---2023-08-10) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.0...v0.5.1) ##### Fixed - Updated Prettier peer dependency ([#​197](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/197)) ### [`v0.5.0`](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/blob/HEAD/CHANGELOG.md#050---2023-08-10) [Compare Source](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.4.1...v0.5.0) ##### Added - Sort expressions in Astro's `class:list` attribute ([#​192](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/192)) - Re-enabled support for plugins when using Prettier v3+ ([#​195](https://togithub.com/tailwindlabs/prettier-plugin-tailwindcss/pull/195))
--- ### Configuration πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. πŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/levaintech/sticky). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Fuxing Loh --- packages/prettier/index.js | 7 +++++-- packages/prettier/package.json | 2 +- pnpm-lock.yaml | 15 ++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/prettier/index.js b/packages/prettier/index.js index 40d2ffe..a7f56f9 100644 --- a/packages/prettier/index.js +++ b/packages/prettier/index.js @@ -1,6 +1,9 @@ -module.exports = { +/** @type {import('prettier').Config} */ +const config = { printWidth: 120, trailingComma: 'all', singleQuote: true, - plugins: [require('prettier-plugin-tailwindcss'), require('prettier-plugin-packagejson')], + plugins: [import('prettier-plugin-tailwindcss'), import('prettier-plugin-packagejson')], }; + +module.exports = config; diff --git a/packages/prettier/package.json b/packages/prettier/package.json index bad7726..27b0d70 100644 --- a/packages/prettier/package.json +++ b/packages/prettier/package.json @@ -13,6 +13,6 @@ "lint-staged": "^15.2.0", "prettier": "^3.1.1", "prettier-plugin-packagejson": "^2.4.8", - "prettier-plugin-tailwindcss": "^0.4.1" + "prettier-plugin-tailwindcss": "^0.5.10" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 497d4c0..a8c740f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -105,8 +105,8 @@ importers: specifier: ^2.4.8 version: 2.4.8(prettier@3.1.1) prettier-plugin-tailwindcss: - specifier: ^0.4.1 - version: 0.4.1(prettier@3.1.1) + specifier: ^0.5.10 + version: 0.5.10(prettier@3.1.1) packages/testcontainers: dependencies: @@ -4997,16 +4997,15 @@ packages: synckit: 0.8.8 dev: false - /prettier-plugin-tailwindcss@0.4.1(prettier@3.1.1): - resolution: {integrity: sha512-hwn2EiJmv8M+AW4YDkbjJ6HlZCTzLyz1QlySn9sMuKV/Px0fjwldlB7tol8GzdgqtkdPtzT3iJ4UzdnYXP25Ag==} - engines: {node: '>=12.17.0'} + /prettier-plugin-tailwindcss@0.5.10(prettier@3.1.1): + resolution: {integrity: sha512-9UGSejqFxGG6brYjFfTYlJ8zs4L/lvZg1AngFfaC5Fs1otSskASv5IWKmjPu5MlABQUtTKtMArKyYr/hWpXSUg==} + engines: {node: '>=14.21.3'} peerDependencies: '@ianvs/prettier-plugin-sort-imports': '*' '@prettier/plugin-pug': '*' '@shopify/prettier-plugin-liquid': '*' - '@shufo/prettier-plugin-blade': '*' '@trivago/prettier-plugin-sort-imports': '*' - prettier: ^2.2 || ^3.0 + prettier: ^3.0 prettier-plugin-astro: '*' prettier-plugin-css-order: '*' prettier-plugin-import-sort: '*' @@ -5024,8 +5023,6 @@ packages: optional: true '@shopify/prettier-plugin-liquid': optional: true - '@shufo/prettier-plugin-blade': - optional: true '@trivago/prettier-plugin-sort-imports': optional: true prettier-plugin-astro: