diff --git a/.changeset/green-sloths-switch.md b/.changeset/green-sloths-switch.md deleted file mode 100644 index 5671a1f69e44..000000000000 --- a/.changeset/green-sloths-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug that caused peer dependency errors when running `astro add tailwind` diff --git a/examples/basics/package.json b/examples/basics/package.json index c6c1715e02b2..69d55e17182d 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 05e7b35260cb..074f20b9e544 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,6 +13,6 @@ "@astrojs/mdx": "^4.0.8", "@astrojs/rss": "^4.0.11", "@astrojs/sitemap": "^3.2.1", - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index b2b5c4b370cb..a20b01343b82 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.2.1" + "astro": "^5.2.2" }, "peerDependencies": { "astro": "^4.0.0 || ^5.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 27f2284b4263..fafe5f57b16e 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^4.2.0", - "astro": "^5.2.1", + "astro": "^5.2.2", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.0.2" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 663d0dd6b216..536a42d49f50 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.3", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.14.8", - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index e8c40ad9108c..4aba1a83b3e1 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^5.0.6", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "astro": "^5.2.1", + "astro": "^5.2.2", "preact": "^10.25.4", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 8ead84b599e9..08d854cbd3e9 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.3", "@preact/signals": "^2.0.1", - "astro": "^5.2.1", + "astro": "^5.2.2", "preact": "^10.25.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index f16f84d5c6c2..0a8f6a66ef07 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.2.0", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "astro": "^5.2.1", + "astro": "^5.2.2", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 2a3408e6fe6c..89bfacf8a9b4 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.0.4", - "astro": "^5.2.1", + "astro": "^5.2.2", "solid-js": "^1.9.4" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 492be53e72c7..0394cc0959a1 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.0.4", - "astro": "^5.2.1", + "astro": "^5.2.2", "svelte": "^5.19.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 841572bdade2..7f8a7f49bc04 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.6", - "astro": "^5.2.1", + "astro": "^5.2.2", "vue": "^3.5.13" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index ed71b1ea4e86..00001acca021 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.0.1", - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index a3195c7a6cce..0f2210b5f1c9 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.2.1" + "astro": "^5.2.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index f10d2a6edf2a..eb00c6aade88 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index eadab20f9761..6c509b746242 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 3935208d33a7..943cd9065491 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.0.1", "@astrojs/svelte": "^7.0.4", - "astro": "^5.2.1", + "astro": "^5.2.2", "svelte": "^5.19.0" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index ccc4c70bbcb5..1c82d81e294b 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.2.1", + "astro": "^5.2.2", "sass": "^1.83.4", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 964a7336e5d4..35980b01ea3e 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@types/node": "^18.17.8", - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 52ae654e2df0..507f3838c6c2 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.12.8", - "astro": "^5.2.1" + "astro": "^5.2.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 093aff0818f9..df1fd162a2e7 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.0.8", "@astrojs/preact": "^4.0.3", - "astro": "^5.2.1", + "astro": "^5.2.2", "preact": "^10.25.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 352543f3ad4b..a9f72097b794 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.3", "@nanostores/preact": "^0.5.2", - "astro": "^5.2.1", + "astro": "^5.2.2", "nanostores": "^0.11.3", "preact": "^10.25.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index cd6f81693857..f341d6b2a3f6 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.0.8", "@tailwindcss/vite": "^4.0.0", "@types/canvas-confetti": "^1.9.0", - "astro": "^5.2.1", + "astro": "^5.2.2", "canvas-confetti": "^1.9.3", "tailwindcss": "^4.0.0" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 5401d04eb42b..24b6bfe725cf 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.2.1", + "astro": "^5.2.2", "vitest": "^3.0.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 398fe10e5439..7ed84b7cf4a9 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,11 @@ # astro +## 5.2.2 + +### Patch Changes + +- [#13106](https://github.com/withastro/astro/pull/13106) [`187c4d3`](https://github.com/withastro/astro/commit/187c4d3244a27c9b4e7e3cbe6307b01161140ca1) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug that caused peer dependency errors when running `astro add tailwind` + ## 5.2.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 9c63adacc882..cee01386b33e 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.2.1", + "version": "5.2.2", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5d7f8ac030a0..2b82d2cec166 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -142,7 +142,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/blog: @@ -157,13 +157,13 @@ importers: specifier: ^3.2.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/container-with-vitest: @@ -172,7 +172,7 @@ importers: specifier: ^4.2.0 version: link:../../packages/integrations/react astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -203,7 +203,7 @@ importers: specifier: ^3.14.8 version: 3.14.8 astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/framework-multiple: @@ -230,7 +230,7 @@ importers: specifier: ^18.3.5 version: 18.3.5(@types/react@18.3.18) astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -260,7 +260,7 @@ importers: specifier: ^2.0.1 version: 2.0.1(preact@10.25.4) astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -278,7 +278,7 @@ importers: specifier: ^18.3.5 version: 18.3.5(@types/react@18.3.18) astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -293,7 +293,7 @@ importers: specifier: ^5.0.4 version: link:../../packages/integrations/solid astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro solid-js: specifier: ^1.9.4 @@ -305,7 +305,7 @@ importers: specifier: ^7.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro svelte: specifier: ^5.19.0 @@ -317,7 +317,7 @@ importers: specifier: ^5.0.6 version: link:../../packages/integrations/vue astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro vue: specifier: ^3.5.13 @@ -329,25 +329,25 @@ importers: specifier: ^9.0.1 version: 9.0.1(astro@packages+astro) astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/ssr: @@ -359,7 +359,7 @@ importers: specifier: ^7.0.4 version: link:../../packages/integrations/svelte astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro svelte: specifier: ^5.19.0 @@ -368,7 +368,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro sass: specifier: ^1.83.4 @@ -383,7 +383,7 @@ importers: specifier: ^18.17.8 version: 18.19.50 astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/with-markdoc: @@ -392,7 +392,7 @@ importers: specifier: ^0.12.8 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro examples/with-mdx: @@ -404,7 +404,7 @@ importers: specifier: ^4.0.3 version: link:../../packages/integrations/preact astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro preact: specifier: ^10.25.4 @@ -419,7 +419,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.25.4) astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -440,7 +440,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.3 @@ -452,7 +452,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.2.1 + specifier: ^5.2.2 version: link:../../packages/astro vitest: specifier: ^3.0.2