create-astro 4.7.4 → 4.7.5

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -467,7 +467,7 @@ function printHelp({
467
467
  if (headline) {
468
468
  message.push(
469
469
  linebreak(),
470
- `${title(commandName)} ${color.green(`v${"4.7.4"}`)} ${headline}`
470
+ `${title(commandName)} ${color.green(`v${"4.7.5"}`)} ${headline}`
471
471
  );
472
472
  }
473
473
  if (usage) {
@@ -547,7 +547,7 @@ async function getContext(argv) {
547
547
  prompt,
548
548
  packageManager,
549
549
  username: getName(),
550
- version: getVersion(packageManager, "astro", "4.4.15"),
550
+ version: getVersion(packageManager, "astro", "4.5.6"),
551
551
  skipHouston,
552
552
  fancy,
553
553
  dryRun,
@@ -915,7 +915,7 @@ var FILES_TO_REMOVE = ["CHANGELOG.md", ".codesandbox"];
915
915
  var FILES_TO_UPDATE = {
916
916
  "package.json": (file, overrides) => fs4.promises.readFile(file, "utf-8").then((value) => {
917
917
  const indent = /(^\s+)/m.exec(value)?.[1] ?? " ";
918
- fs4.promises.writeFile(
918
+ return fs4.promises.writeFile(
919
919
  file,
920
920
  JSON.stringify(
921
921
  Object.assign(JSON.parse(value), Object.assign(overrides, { private: void 0 })),
@@ -1142,7 +1142,7 @@ var FILES_TO_UPDATE2 = {
1142
1142
  parsedPackageJson.scripts.build = `astro check && ${buildScript}`;
1143
1143
  }
1144
1144
  const [astroCheckVersion, typescriptVersion] = await Promise.all([
1145
- getVersion(options.ctx.packageManager, "@astrojs/check", "0.3.1"),
1145
+ getVersion(options.ctx.packageManager, "@astrojs/check", "0.5.8"),
1146
1146
  getVersion(options.ctx.packageManager, "typescript", "5.2.2")
1147
1147
  ]);
1148
1148
  parsedPackageJson.dependencies ??= {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astro",
3
- "version": "4.7.4",
3
+ "version": "4.7.5",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",