From 59bf301d0314de47ed28332b9d8e2b212daba3b5 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 14 Sep 2022 22:24:05 +0200 Subject: [PATCH 1/3] Add migration notes to Tailwind changelog --- packages/integrations/tailwind/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index 34aa77eca277..c1b453a3be9d 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -2,6 +2,14 @@ ## 2.0.0 +### Migration to v2 + +Tailwind CSS is now a peer dependency, so you will need to install it manually when updating this integration: + +``` +npm install tailwindcss +``` + ### Major Changes - [#4543](https://github.com/withastro/astro/pull/4543) [`664ebf449`](https://github.com/withastro/astro/commit/664ebf449e27f0aef43eaa2482189358a74209d2) Thanks [@aFuzzyBear](https://github.com/aFuzzyBear)! - Update peer dep with Tailwindcss From f1dcf77a40e2d0a2cfd8bd0c8a22e8ca216ef1f6 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 14 Sep 2022 22:27:15 +0200 Subject: [PATCH 2/3] Include `tailwindcss` in manual install steps --- packages/integrations/tailwind/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/integrations/tailwind/README.md b/packages/integrations/tailwind/README.md index 6d118a79c0e3..7480327b9480 100644 --- a/packages/integrations/tailwind/README.md +++ b/packages/integrations/tailwind/README.md @@ -42,9 +42,9 @@ If you run into any issues, [feel free to report them to us on GitHub](https://g ### Manual Install -First, install the `@astrojs/tailwind` package using your package manager. If you're using npm or aren't sure, run this in the terminal: +First, install the `@astrojs/tailwind` and `tailwindcss` packages using your package manager. If you're using npm or aren't sure, run this in the terminal: ```sh -npm install @astrojs/tailwind +npm install @astrojs/tailwind tailwindcss ``` Then, apply this integration to your `astro.config.*` file using the `integrations` property: From 87364a8bbd0d00e9b4c1f0cbbc6a0eabea3f2613 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Wed, 14 Sep 2022 22:31:06 +0200 Subject: [PATCH 3/3] add changeset --- .changeset/swift-trees-double.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/swift-trees-double.md diff --git a/.changeset/swift-trees-double.md b/.changeset/swift-trees-double.md new file mode 100644 index 000000000000..2b7c2d0cac15 --- /dev/null +++ b/.changeset/swift-trees-double.md @@ -0,0 +1,5 @@ +--- +"@astrojs/tailwind": patch +--- + +Update Tailwind manual install guide for v2