Skip to content

Commit

Permalink
fix(cli): hardcoded supported Node.js version (#10742)
Browse files Browse the repository at this point in the history
* fix(cli): hardcoded supported Node.js version

* Create chatty-teachers-sit.md

---------

Co-authored-by: Erika <[email protected]>
  • Loading branch information
ematipico and Princesseuh authored Aug 6, 2024
1 parent d532df1 commit b6fbdaa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chatty-teachers-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": major
---

The lowest version of Node supported by Astro is now Node v18.17.1 and higher.
2 changes: 1 addition & 1 deletion packages/astro/astro.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 *` */
Expand Down

0 comments on commit b6fbdaa

Please sign in to comment.