summaryrefslogtreecommitdiff
path: root/packages/create-astro/create-astro.mjs
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-06-27 14:15:51 -0700
committerGravatar GitHub <noreply@github.com> 2022-06-27 14:15:51 -0700
commit4d6d8644e623522ca6c19dbb2078865b17044c38 (patch)
treec0d0f032785dc5b5ba1386612281b5b8a6e52715 /packages/create-astro/create-astro.mjs
parentbd4dac0e1a8598045f10c42faf08abff96ed6766 (diff)
downloadastro-4d6d8644e623522ca6c19dbb2078865b17044c38.tar.gz
astro-4d6d8644e623522ca6c19dbb2078865b17044c38.tar.zst
astro-4d6d8644e623522ca6c19dbb2078865b17044c38.zip
SImplify "astro add" by removing confusing multi-select (#3715)
* wip * update create-astro for new astro add * update copy * update git prompt * Update packages/astro/src/core/logger/node.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/create-astro/test/install-step.test.js Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * update git prompt * update test Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Diffstat (limited to 'packages/create-astro/create-astro.mjs')
-rwxr-xr-xpackages/create-astro/create-astro.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/create-astro/create-astro.mjs b/packages/create-astro/create-astro.mjs
index be032f3c2..7f09ba700 100755
--- a/packages/create-astro/create-astro.mjs
+++ b/packages/create-astro/create-astro.mjs
@@ -3,7 +3,7 @@
const currentVersion = process.versions.node;
const requiredMajorVersion = parseInt(currentVersion.split('.')[0], 10);
-const minimumMajorVersion = 12;
+const minimumMajorVersion = 14;
if (requiredMajorVersion < minimumMajorVersion) {
console.error(`Node.js v${currentVersion} is out of date and unsupported!`);