From 027aca442395beaf27613154b69577676dcd18bb Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Mon, 29 Aug 2022 19:38:41 +0000 Subject: [PATCH 1/5] Update peer dep --- packages/integrations/tailwind/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 8bf845110c79..719215c93087 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -37,6 +37,9 @@ "astro": "workspace:*", "astro-scripts": "workspace:*" }, + "peerDependencies": { + "tailwindcss" : "^3.0.24" + }, "pnpm": { "peerDependencyRules": { "ignoreMissing": [ From 061258051c7d6a183ef7659afffab5cb9843fb1a Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Mon, 29 Aug 2022 21:02:49 +0100 Subject: [PATCH 2/5] Create leaders-of-the-free-world.md Update: `@astrojs/tailwindcss` project with `tailwindcss` as a `peer-dependency` --- .changeset/leaders-of-the-free-world.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/leaders-of-the-free-world.md diff --git a/.changeset/leaders-of-the-free-world.md b/.changeset/leaders-of-the-free-world.md new file mode 100644 index 000000000000..1091f01f8883 --- /dev/null +++ b/.changeset/leaders-of-the-free-world.md @@ -0,0 +1,5 @@ +--- +"@astrojs/tailwind": patch +--- + +Update peer dep with Tailwindcss From ce25354cadf4b912c4b5cb0340e14361685a02a9 Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Mon, 29 Aug 2022 20:09:20 +0000 Subject: [PATCH 3/5] Removed tailwindcss as 'dependency' --- packages/integrations/tailwind/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 719215c93087..ab91578ab6cf 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -30,8 +30,7 @@ "dependencies": { "@proload/core": "^0.3.2", "autoprefixer": "^10.4.7", - "postcss": "^8.4.14", - "tailwindcss": "^3.0.24" + "postcss": "^8.4.14" }, "devDependencies": { "astro": "workspace:*", From 977d0569326e65417afbca37abff94a9f27b1696 Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Mon, 29 Aug 2022 21:34:20 +0000 Subject: [PATCH 4/5] Update `pnpm-lock` with changes to deps --- pnpm-lock.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b26bce9e17b2..c0fdf24dab4c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2601,12 +2601,10 @@ importers: astro-scripts: workspace:* autoprefixer: ^10.4.7 postcss: ^8.4.14 - tailwindcss: ^3.0.24 dependencies: '@proload/core': 0.3.2 autoprefixer: 10.4.8_postcss@8.4.16 postcss: 8.4.16 - tailwindcss: 3.1.8_postcss@8.4.16 devDependencies: astro: link:../../astro astro-scripts: link:../../../scripts From 141d72026f8817167815ff405c891645e1ea737a Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Tue, 30 Aug 2022 21:04:28 +0100 Subject: [PATCH 5/5] Update .changeset/leaders-of-the-free-world.md Co-authored-by: Bjorn Lu --- .changeset/leaders-of-the-free-world.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/leaders-of-the-free-world.md b/.changeset/leaders-of-the-free-world.md index 1091f01f8883..0dad953aedf3 100644 --- a/.changeset/leaders-of-the-free-world.md +++ b/.changeset/leaders-of-the-free-world.md @@ -1,5 +1,5 @@ --- -"@astrojs/tailwind": patch +"@astrojs/tailwind": major --- Update peer dep with Tailwindcss