From 216de378d16d34ed4b0d6e4404f6d20810ec5038 Mon Sep 17 00:00:00 2001 From: bluwy Date: Wed, 27 Nov 2024 11:34:18 +0800 Subject: [PATCH] Drop node 21 support --- .changeset/fair-ears-compare.md | 16 ++++++++++++++++ package.json | 2 +- packages/astro-prism/package.json | 2 +- packages/astro/package.json | 2 +- packages/create-astro/package.json | 2 +- packages/integrations/markdoc/package.json | 2 +- packages/integrations/mdx/package.json | 2 +- packages/integrations/preact/package.json | 2 +- packages/integrations/react/package.json | 2 +- packages/integrations/solid/package.json | 2 +- packages/integrations/svelte/package.json | 2 +- packages/integrations/vue/package.json | 2 +- packages/telemetry/package.json | 2 +- packages/upgrade/package.json | 2 +- 14 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 .changeset/fair-ears-compare.md diff --git a/.changeset/fair-ears-compare.md b/.changeset/fair-ears-compare.md new file mode 100644 index 000000000000..a5c3bd3ff510 --- /dev/null +++ b/.changeset/fair-ears-compare.md @@ -0,0 +1,16 @@ +--- +'@astrojs/markdoc': minor +'@astrojs/preact': minor +'@astrojs/svelte': minor +'@astrojs/react': minor +'@astrojs/solid-js': minor +'@astrojs/mdx': minor +'@astrojs/vue': minor +'create-astro': minor +'@astrojs/prism': minor +'@astrojs/telemetry': minor +'@astrojs/upgrade': minor +'astro': minor +--- + +Drops node 21 support diff --git a/package.json b/package.json index d46517228edd..9500fadb0ea0 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "packages/*" ], "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "packageManager": "pnpm@9.12.1", "dependencies": { diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index f3ba16f4e83e..35bd062017bd 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -39,6 +39,6 @@ "astro-scripts": "workspace:*" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" } } diff --git a/packages/astro/package.json b/packages/astro/package.json index 718b5ac13810..480d39302e20 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -218,7 +218,7 @@ "vitest": "^2.1.1" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0", + "node": "^18.17.1 || ^20.3.0 || >=22.0.0", "npm": ">=9.6.5", "pnpm": ">=7.1.0" }, diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 1d20f12b7957..5d1846d85c63 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -40,7 +40,7 @@ "strip-json-comments": "^5.0.1" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 1c3ec68eea7b..f49bc3a26778 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -82,7 +82,7 @@ "vite": "6.0.0-beta.6" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index fe59d20f38d5..219071289324 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -73,7 +73,7 @@ "vite": "6.0.0-beta.6" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index d039c95ff33d..1c50241e416f 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -52,7 +52,7 @@ "preact": "^10.6.5" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index eeb5ca4ab9c2..8f45fed8a329 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -69,7 +69,7 @@ "react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0-beta" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index f46629d0ff65..066faacc2d8a 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -53,7 +53,7 @@ } }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 2d6aebe34bf9..0592546a935d 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -54,7 +54,7 @@ "typescript": "^5.3.3" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 9b144f83ce96..5230be5ec6b5 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -60,7 +60,7 @@ "vue": "^3.2.30" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 5111f168c018..bd1fdf16d511 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -45,7 +45,7 @@ "astro-scripts": "workspace:*" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" }, "publishConfig": { "provenance": true diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 872f6e729590..cde55ca81634 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -40,6 +40,6 @@ "astro-scripts": "workspace:*" }, "engines": { - "node": "^18.17.1 || ^20.3.0 || >=21.0.0" + "node": "^18.17.1 || ^20.3.0 || >=22.0.0" } }