summaryrefslogtreecommitdiff
path: root/packages/create-astro/create-astro.mjs
diff options
context:
space:
mode:
authorGravatar Nate Moore <natemoo-re@users.noreply.github.com> 2023-09-13 09:40:53 -0500
committerGravatar GitHub <noreply@github.com> 2023-09-13 09:40:53 -0500
commited952b4cea6f60a4e158a5b20cc36f5e91a6b07f (patch)
tree12f63e4ada3c3eb770eb7ac276a6b66509e885c1 /packages/create-astro/create-astro.mjs
parentf02dc9f7bfeba96459acd221665886b7b23f6278 (diff)
downloadastro-ed952b4cea6f60a4e158a5b20cc36f5e91a6b07f.tar.gz
astro-ed952b4cea6f60a4e158a5b20cc36f5e91a6b07f.tar.zst
astro-ed952b4cea6f60a4e158a5b20cc36f5e91a6b07f.zip
Improve `create-astro` startup performance (#8456)
* feat(create-astro): improve performance * test: fix test by wrapping promise values * chore: remove uneeded deps * Update ten-kings-smash.md * chore: update lockfile
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 b7489a6b1..f9df779d8 100755
--- a/packages/create-astro/create-astro.mjs
+++ b/packages/create-astro/create-astro.mjs
@@ -4,7 +4,7 @@
const currentVersion = process.versions.node;
const requiredMajorVersion = parseInt(currentVersion.split('.')[0], 10);
-const minimumMajorVersion = 14;
+const minimumMajorVersion = 18;
if (requiredMajorVersion < minimumMajorVersion) {
console.error(`Node.js v${currentVersion} is out of date and unsupported!`);