From ce9336115e8e3b54a534224ebddc6ad9f89c12dc Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Fri, 11 Jun 2021 09:03:06 -0400 Subject: [PATCH] Document the minimum node version (#379) * Document the minimum node version * Adds the changeset --- .changeset/eleven-zebras-care.md | 5 +++++ package.json | 3 +++ packages/astro/README.md | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 .changeset/eleven-zebras-care.md diff --git a/.changeset/eleven-zebras-care.md b/.changeset/eleven-zebras-care.md new file mode 100644 index 000000000..13f121bd1 --- /dev/null +++ b/.changeset/eleven-zebras-care.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +Set the minimum Node version in the engines field diff --git a/package.json b/package.json index d2535653a..fbe3c8067 100644 --- a/package.json +++ b/package.json @@ -49,5 +49,8 @@ "tiny-glob": "^0.2.8", "typescript": "^4.2.4", "uvu": "^0.5.1" + }, + "engines": { + "node": ">=14.16.1" } } diff --git a/packages/astro/README.md b/packages/astro/README.md index 4480b4844..f2a119306 100644 --- a/packages/astro/README.md +++ b/packages/astro/README.md @@ -10,6 +10,8 @@ With Astro, you can use your favorite JavaScript framework and automatically shi ## 🔧 Quick Start +> __Important__: Astro is built with [ESM modules](https://nodejs.org/api/esm.html) which are not supported in older version of Node.js. The minimum supported version is __14.16.1__. + ```bash # create your project mkdir new-project-directory