Skip to content

Commit

Permalink
fix(deps): update dependency @astrojs/tailwind to v4 (#159)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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)
|
[![age](https://badges.renovateapi.com/packages/npm/@astrojs%2ftailwind/4.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@astrojs%2ftailwind/4.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@astrojs%2ftailwind/4.0.0/compatibility-slim/3.1.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@astrojs%2ftailwind/4.0.0/confidence-slim/3.1.1)](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#&#8203;400)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Major Changes

- [#&#8203;7391](https://togithub.com/withastro/astro/pull/7391)
[`556fd694a`](https://togithub.com/withastro/astro/commit/556fd694a6672572caffce964b852d212d013ac8)
Thanks [@&#8203;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 '@&#8203;astrojs/tailwind';

    export default defineConfig({
      integrations: [
        tailwind({
    -      config: {
    -        path: '...',
    -        applyBaseStyles: true,
    -      },
    +      configFile: '...',
    +      applyBaseStyles: true,
        }),
      ],
    });
    ```

- [#&#8203;6724](https://togithub.com/withastro/astro/pull/6724)
[`3f1cb6b1a`](https://togithub.com/withastro/astro/commit/3f1cb6b1a001fb03419a313f72c9f4846b890fe0)
Thanks [@&#8203;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 '@&#8203;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
    /** @&#8203;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)]:
    -   [email protected]

###
[`v3.1.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#&#8203;313)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Patch Changes

- [#&#8203;7104](https://togithub.com/withastro/astro/pull/7104)
[`826e02890`](https://togithub.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa)
Thanks [@&#8203;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)]:
    -   [email protected]

###
[`v3.1.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#&#8203;312)

[Compare
Source](https://togithub.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Patch Changes

- [#&#8203;6930](https://togithub.com/withastro/astro/pull/6930)
[`2dca81bf2`](https://togithub.com/withastro/astro/commit/2dca81bf2174cd5c27cb63cb0ae081ea2a1ac771)
Thanks [@&#8203;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)]:
    -   [email protected]

</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>
  • Loading branch information
renovate[bot] authored Jun 19, 2023
1 parent d3bfe8a commit 8282aa0
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 20 deletions.
73 changes: 54 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wiki.creatorsgarten.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^5.1.0",
"@astrojs/react": "^2.1.0",
"@astrojs/tailwind": "^3.1.1",
"@astrojs/tailwind": "^4.0.0",
"@babel/core": "^7.21.3",
"@contentsgarten/client-utils": "workspace:*",
"@contentsgarten/html": "workspace:*",
Expand Down

1 comment on commit 8282aa0

@hop-deploy
Copy link

@hop-deploy hop-deploy bot commented on 8282aa0 Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment Status Build Logs Updated At
wonderwiki ✅ Deployed View Logs 2023-06-19T21:42:50.243Z

Please sign in to comment.