mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
000e8f4654
* feat: implement redesign * fix: make it build * feat: visual tweaks * feat(overlay): update styling, integration endpoint * feat: add fallback icons * Clean up tests (#9183) * Add `@astrojs/upgrade` package for automatic package upgrades (#8525) Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * [ci] format * fix: links with same path but different search params not prefetched (#9189) Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix: discord icon * chore: changeset --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev>
15 lines
495 B
JavaScript
Executable file
15 lines
495 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
/* eslint-disable no-console */
|
|
'use strict';
|
|
|
|
const currentVersion = process.versions.node;
|
|
const requiredMajorVersion = parseInt(currentVersion.split('.')[0], 10);
|
|
const minimumMajorVersion = 18;
|
|
|
|
if (requiredMajorVersion < minimumMajorVersion) {
|
|
console.error(`Node.js v${currentVersion} is out of date and unsupported!`);
|
|
console.error(`Please use Node.js v${minimumMajorVersion} or higher.`);
|
|
process.exit(1);
|
|
}
|
|
|
|
import('./dist/index.js').then(({ main }) => main());
|