create-astro 3.1.9 → 3.1.10

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
@@ -243,11 +243,11 @@ var welcome = [
243
243
  `Awaiting further instructions.`
244
244
  ];
245
245
  var getName = () => new Promise((resolve) => {
246
- exec("git config user.name", { encoding: "utf-8" }, (_1, gitName, _2) => {
246
+ exec("git config user.name", { encoding: "utf-8" }, (_1, gitName) => {
247
247
  if (gitName.trim()) {
248
248
  return resolve(gitName.split(" ")[0].trim());
249
249
  }
250
- exec("whoami", { encoding: "utf-8" }, (_3, whoami, _4) => {
250
+ exec("whoami", { encoding: "utf-8" }, (_3, whoami) => {
251
251
  if (whoami.trim()) {
252
252
  return resolve(whoami.split(" ")[0].trim());
253
253
  }
@@ -356,7 +356,7 @@ function printHelp({
356
356
  if (headline) {
357
357
  message.push(
358
358
  linebreak(),
359
- `${title(commandName)} ${color.green(`v${"3.1.9"}`)} ${headline}`
359
+ `${title(commandName)} ${color.green(`v${"3.1.10"}`)} ${headline}`
360
360
  );
361
361
  }
362
362
  if (usage) {
@@ -475,7 +475,7 @@ async function dependencies(ctx) {
475
475
  await info("--dry-run", `Skipping dependency installation`);
476
476
  } else if (deps) {
477
477
  await spinner({
478
- start: `Dependencies installing with ${ctx.pkgManager}...`,
478
+ start: `Installing dependencies with ${ctx.pkgManager}...`,
479
479
  end: "Dependencies installed",
480
480
  while: () => {
481
481
  return install({ pkgManager: ctx.pkgManager, cwd: ctx.cwd }).catch((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astro",
3
- "version": "3.1.9",
3
+ "version": "3.1.10",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",