create-astro 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/create-astro.mjs CHANGED
@@ -4,9 +4,7 @@
4
4
 
5
5
  const currentVersion = process.versions.node;
6
6
  const requiredMajorVersion = Number.parseInt(currentVersion.split('.')[0], 10);
7
- // TODO: remove once Stackblitz supports Node 22
8
- const IS_STACKBLITZ = !!process.versions.webcontainer;
9
- const minimumMajorVersion = IS_STACKBLITZ ? 20 : 22;
7
+ const minimumMajorVersion = 22;
10
8
 
11
9
  if (requiredMajorVersion < minimumMajorVersion) {
12
10
  console.error(`Node.js v${currentVersion} is out-of-date and unsupported!`);
package/dist/index.js CHANGED
@@ -420,7 +420,7 @@ ${prefix}Enter your project directory using`,
420
420
  log(enter.join(len > max ? "\n" + prefix : " "));
421
421
  }
422
422
  log(
423
- `${prefix}Run ${color.cyan(devCmd)} to start the dev server. ${color.cyan("CTRL+C")} to stop.`
423
+ `${prefix}Run ${color.cyan(devCmd)} to start the dev server. ${color.cyan("q")} + ${color.cyan("ENTER")} to stop.`
424
424
  );
425
425
  await sleep(100);
426
426
  log(
@@ -459,7 +459,7 @@ function printHelp({
459
459
  if (headline) {
460
460
  message.push(
461
461
  linebreak(),
462
- `${title(commandName)} ${color.green(`v${"5.0.1"}`)} ${headline}`
462
+ `${title(commandName)} ${color.green(`v${"5.0.2"}`)} ${headline}`
463
463
  );
464
464
  }
465
465
  if (usage) {
@@ -558,7 +558,7 @@ async function getContext(argv) {
558
558
  packageManager,
559
559
  "astro",
560
560
  getPackageTag(packageSpecifier),
561
- "6.0.5"
561
+ "6.0.6"
562
562
  ),
563
563
  skipHouston,
564
564
  fancy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astro",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "astro-scripts": "0.0.14"
35
35
  },
36
36
  "engines": {
37
- "node": "^20.19.1 || >=22.12.0"
37
+ "node": ">=22.12.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "provenance": true