From 664ebf449e27f0aef43eaa2482189358a74209d2 Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Wed, 14 Sep 2022 20:17:04 +0100 Subject: [PATCH] Update peer dep with Tailwindcss (#4543) * Update peer dep * Create leaders-of-the-free-world.md Update: `@astrojs/tailwindcss` project with `tailwindcss` as a `peer-dependency` * Removed tailwindcss as 'dependency' * Update `pnpm-lock` with changes to deps * Update .changeset/leaders-of-the-free-world.md Co-authored-by: Bjorn Lu Co-authored-by: Bjorn Lu --- .changeset/leaders-of-the-free-world.md | 5 +++++ packages/integrations/tailwind/package.json | 6 ++++-- pnpm-lock.yaml | 2 -- 3 files changed, 9 insertions(+), 4 deletions(-) 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..0dad953aedf3 --- /dev/null +++ b/.changeset/leaders-of-the-free-world.md @@ -0,0 +1,5 @@ +--- +"@astrojs/tailwind": major +--- + +Update peer dep with Tailwindcss diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index e8c8122f8e11..5d6e25120b77 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -30,13 +30,15 @@ "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:*", "astro-scripts": "workspace:*" }, + "peerDependencies": { + "tailwindcss" : "^3.0.24" + }, "pnpm": { "peerDependencyRules": { "ignoreMissing": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b50264c9b08b..e222bcd32142 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2649,12 +2649,10 @@ importers: astro-scripts: workspace:* autoprefixer: ^10.4.7 postcss: ^8.4.14 - tailwindcss: ^3.0.24 dependencies: '@proload/core': 0.3.3 autoprefixer: 10.4.10_postcss@8.4.16 postcss: 8.4.16 - tailwindcss: 3.1.8_postcss@8.4.16 devDependencies: astro: link:../../astro astro-scripts: link:../../../scripts