Commit 8282aa0
authored
fix(deps): update dependency @astrojs/tailwind to v4 (#159)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@astrojs/tailwind](https://docs.astro.build/en/guides/integrations-guide/tailwind/)
([source](https://togithub.com/withastro/astro)) | [`^3.1.1` ->
`^4.0.0`](https://renovatebot.com/diffs/npm/@astrojs%2ftailwind/3.1.1/4.0.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>withastro/astro</summary>
###
[`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
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->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/creatorsgarten/contentsgarten).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent d3bfe8a commit 8282aa0
2 files changed
+55
-20
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments