From b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Tue, 6 Aug 2024 10:23:22 +0100 Subject: [PATCH] fix(cli): hardcoded supported Node.js version (#10742) * fix(cli): hardcoded supported Node.js version * Create chatty-teachers-sit.md --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> --- .changeset/chatty-teachers-sit.md | 5 +++++ packages/astro/astro.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chatty-teachers-sit.md diff --git a/.changeset/chatty-teachers-sit.md b/.changeset/chatty-teachers-sit.md new file mode 100644 index 000000000000..9e4fd89b4558 --- /dev/null +++ b/.changeset/chatty-teachers-sit.md @@ -0,0 +1,5 @@ +--- +"astro": major +--- + +The lowest version of Node supported by Astro is now Node v18.17.1 and higher. diff --git a/packages/astro/astro.js b/packages/astro/astro.js index 4ba0c800d6c0..81ef7d1259f9 100755 --- a/packages/astro/astro.js +++ b/packages/astro/astro.js @@ -12,7 +12,7 @@ const CI_INSTRUCTIONS = { }; // Hardcode supported Node.js version so we don't have to read differently in CJS & ESM. -const engines = '>=18.14.1'; +const engines = '>=18.17.1'; const skipSemverCheckIfAbove = 19; /** `astro *` */