summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/eleven-zebras-care.md5
-rw-r--r--package.json3
-rw-r--r--packages/astro/README.md2
3 files changed, 10 insertions, 0 deletions
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