ddanielsantos / blog

https://ddaniel.me
1 stars 0 forks source link

fix(deps): update dependency @astrojs/tailwind to v4 #66

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/tailwind (source) ^3.0.0 -> ^4.0.0 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/tailwind) ### [`v4.0.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#​400) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/tailwind@3.1.3...@astrojs/tailwind@4.0.0) ##### Major Changes - [#​7391](https://togithub.com/withastro/astro/pull/7391) [`556fd694a`](https://togithub.com/withastro/astro/commit/556fd694a6672572caffce964b852d212d013ac8) Thanks [@​bluwy](https://togithub.com/bluwy)! - Rename options `config.path` to `configFile`, and `config.applyBaseStyles` to `applyBaseStyles`. If you are using these options, you need to migrate to the new names. ```diff // astro.config.mjs import { defineConfig } from 'astro/config'; import tailwind from '@​astrojs/tailwind'; export default defineConfig({ integrations: [ tailwind({ - config: { - path: '...', - applyBaseStyles: true, - }, + configFile: '...', + applyBaseStyles: true, }), ], }); ``` - [#​6724](https://togithub.com/withastro/astro/pull/6724) [`3f1cb6b1a`](https://togithub.com/withastro/astro/commit/3f1cb6b1a001fb03419a313f72c9f4846b890fe0) Thanks [@​TomPichaud](https://togithub.com/TomPichaud)! - Let the `tailwindcss` PostCSS plugin load its config file itself. This changes the Tailwind config loading behaviour where it is loaded from `process.cwd()` instead of the project `root`. If your Tailwind config file is not located in the current working directory, you will need to configure the integration's `configFile` option to load from a specific path: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; import tailwind from '@​astrojs/tailwind'; import { fileURLToPath } from 'url'; export default defineConfig({ integrations: [ tailwind({ configFile: fileURLToPath(new URL('./tailwind.config.cjs', import.meta.url)), }), ], }); ``` This change also requires a Tailwind config file to exist in your project as a fallback config is no longer provided. It is set up automatically during `astro add tailwind`, but if it does not exist, you can manually create a `tailwind.config.cjs` file in your project root: ```js // tailwind.config.cjs /** @​type {import('tailwindcss').Config} */ module.exports = { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], theme: { extend: {}, }, plugins: [], }; ``` ##### Patch Changes - Updated dependencies \[[`bb644834e`](https://togithub.com/withastro/astro/commit/bb644834ef03bc00048c7381f20a1c01388438e2), [`d2020c29c`](https://togithub.com/withastro/astro/commit/d2020c29cf285e699f92143a70ffa30a85122bb4)]: - astro@2.6.5 ### [`v3.1.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#​313) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/tailwind@3.1.2...@astrojs/tailwind@3.1.3) ##### Patch Changes - [#​7104](https://togithub.com/withastro/astro/pull/7104) [`826e02890`](https://togithub.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@​bluwy](https://togithub.com/bluwy)! - Specify `"files"` field to only publish necessary files - Updated dependencies \[[`4516d7b22`](https://togithub.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`e186ecc5e`](https://togithub.com/withastro/astro/commit/e186ecc5e292de8c6a2c441a2d588512c0813068), [`c6d7ebefd`](https://togithub.com/withastro/astro/commit/c6d7ebefdd554a9ef29cfeb426ac55cab80d6473), [`914c439bc`](https://togithub.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`e9fc2c221`](https://togithub.com/withastro/astro/commit/e9fc2c2213036d47cd30a47a6cdad5633481a0f8), [`075eee08f`](https://togithub.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://togithub.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fc52681ba`](https://togithub.com/withastro/astro/commit/fc52681ba2f8fe8bcd92eeedf3c6a52fd86a390e), [`fb84622af`](https://togithub.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cada10a46`](https://togithub.com/withastro/astro/commit/cada10a466f81f8edb0aa664f9cffdb6b5b8f307), [`cd410c5eb`](https://togithub.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://togithub.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173), [`410428672`](https://togithub.com/withastro/astro/commit/410428672ed97bba7ca0b3352c1a7ee564921462), [`763ff2d1e`](https://togithub.com/withastro/astro/commit/763ff2d1e44f54b899d7c65386f1b4b877c95737), [`c1669c001`](https://togithub.com/withastro/astro/commit/c1669c0011eecfe65a459d727848c18c189a54ca), [`3d525efc9`](https://togithub.com/withastro/astro/commit/3d525efc95cfb2deb5d9e04856d02965d66901c9)]: - astro@2.5.0 ### [`v3.1.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#​312) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/tailwind@3.1.1...@astrojs/tailwind@3.1.2) ##### Patch Changes - [#​6930](https://togithub.com/withastro/astro/pull/6930) [`2dca81bf2`](https://togithub.com/withastro/astro/commit/2dca81bf2174cd5c27cb63cb0ae081ea2a1ac771) Thanks [@​bluwy](https://togithub.com/bluwy)! - Update dependencies - Updated dependencies \[[`a98df9374`](https://togithub.com/withastro/astro/commit/a98df9374dec65c678fa47319cb1481b1af123e2), [`50975f2ea`](https://togithub.com/withastro/astro/commit/50975f2ea3a59f9e023cc631a9372c0c7986eec9), [`ebae1eaf8`](https://togithub.com/withastro/astro/commit/ebae1eaf87f49399036033c673b513338f7d9c42), [`dc062f669`](https://togithub.com/withastro/astro/commit/dc062f6695ce577dc569781fc0678c903012c336)]: - astro@2.3.3 ### [`v3.1.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#​311) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/tailwind@3.1.0...@astrojs/tailwind@3.1.1) ##### Patch Changes - [#​6419](https://togithub.com/withastro/astro/pull/6419) [`0de08773f`](https://togithub.com/withastro/astro/commit/0de08773f30cef0e131e42f2068ff56f826b41c0) Thanks [@​Yan-Thomas](https://togithub.com/Yan-Thomas)! - Make Tailwind & Turbolinks integration descriptions more consistent - Updated dependencies \[[`acf78c5e2`](https://togithub.com/withastro/astro/commit/acf78c5e271ec3d4f589782078e2a2044cc1c391), [`04e624d06`](https://togithub.com/withastro/astro/commit/04e624d062c6ce385f6293afba26f3942c2290c6), [`cc90d7219`](https://togithub.com/withastro/astro/commit/cc90d72197e1139195e9545105b9a1d339f38e1b), [`a9a6ae298`](https://togithub.com/withastro/astro/commit/a9a6ae29812339ea00f3b9afd3de09bd9d3733a9), [`6a7cf0712`](https://togithub.com/withastro/astro/commit/6a7cf0712da23e2c095f4bc4f2512e618bceb38e), [`bfd67ea74`](https://togithub.com/withastro/astro/commit/bfd67ea749dbc6ffa7c9a671fcc48bea6c04a075), [`f6eddffa0`](https://togithub.com/withastro/astro/commit/f6eddffa0414d54767e9f9e1ee5a936b8a20146b), [`c63874090`](https://togithub.com/withastro/astro/commit/c6387409062f1d7c2afc93319748ad57086837c5), [`d637d1ea5`](https://togithub.com/withastro/astro/commit/d637d1ea5b347b9c724adc895c9006c696ac8fc8), [`637f9bc72`](https://togithub.com/withastro/astro/commit/637f9bc728ea7d56fc82a862d761385f0dcd9528), [`77a046e88`](https://togithub.com/withastro/astro/commit/77a046e886c370b737208574b6934f5a1cf2b177)]: - astro@2.1.3 ### [`v3.1.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#​310) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/tailwind@3.0.1...@astrojs/tailwind@3.1.0) ##### Minor Changes - [#​6213](https://togithub.com/withastro/astro/pull/6213) [`afbbc4d5b`](https://togithub.com/withastro/astro/commit/afbbc4d5bfafc1779bac00b41c2a1cb1c90f2808) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Updated compilation settings to disable downlevelling for Node 14 ##### Patch Changes - Updated dependencies \[[`fec583909`](https://togithub.com/withastro/astro/commit/fec583909ab62829dc0c1600e2387979365f2b94), [`b087b83fe`](https://togithub.com/withastro/astro/commit/b087b83fe266c431fe34a07d5c2293cc4ab011c6), [`694918a56`](https://togithub.com/withastro/astro/commit/694918a56b01104831296be0c25456135a63c784), [`a20610609`](https://togithub.com/withastro/astro/commit/a20610609863ae3b48afe96819b8f11ae4f414d5), [`a4a74ab70`](https://togithub.com/withastro/astro/commit/a4a74ab70cd2aa0d812a1f6b202c4e240a8913bf), [`75921b3cd`](https://togithub.com/withastro/astro/commit/75921b3cd916d439f6392c487c21532fde35ed13), [`afbbc4d5b`](https://togithub.com/withastro/astro/commit/afbbc4d5bfafc1779bac00b41c2a1cb1c90f2808)]: - astro@2.1.0

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» 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.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
portfolio βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jul 1, 2023 9:16am