summaryrefslogtreecommitdiff
path: root/packages/create-astro/src
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2022-07-07 11:05:59 -0700
committerGravatar GitHub <noreply@github.com> 2022-07-07 11:05:59 -0700
commit4fb08502a99396723b9eb671099482cd619b3564 (patch)
treed9e84618df0771012ef1cb6df0575694673f412b /packages/create-astro/src
parent0e01e0bb586a8019b2f031db89d83c8dcd3c4811 (diff)
downloadastro-4fb08502a99396723b9eb671099482cd619b3564.tar.gz
astro-4fb08502a99396723b9eb671099482cd619b3564.tar.zst
astro-4fb08502a99396723b9eb671099482cd619b3564.zip
small create-astro wording changes (#3831)
Diffstat (limited to 'packages/create-astro/src')
-rw-r--r--packages/create-astro/src/index.ts8
-rw-r--r--packages/create-astro/src/templates.ts12
2 files changed, 10 insertions, 10 deletions
diff --git a/packages/create-astro/src/index.ts b/packages/create-astro/src/index.ts
index 60562d981..7c69f5438 100644
--- a/packages/create-astro/src/index.ts
+++ b/packages/create-astro/src/index.ts
@@ -2,7 +2,7 @@
import degit from 'degit';
import { execa, execaCommand } from 'execa';
import fs from 'fs';
-import { bgCyan, black, bold, cyan, dim, gray, green, red, yellow } from 'kleur/colors';
+import { bgCyan, black, bold, cyan, dim, gray, green, red, reset, yellow } from 'kleur/colors';
import ora from 'ora';
import path from 'path';
import prompts from 'prompts';
@@ -181,7 +181,7 @@ export async function main() {
const installResponse = await prompts({
type: 'confirm',
name: 'install',
- message: `Would you like us to run "${pkgManager} install?"`,
+ message: `Would you like to install ${pkgManager} dependencies? ${reset(dim('(recommended)'))}`,
initial: true,
});
@@ -203,13 +203,13 @@ export async function main() {
installSpinner.text = green('Packages installed!');
installSpinner.succeed();
} else {
- ora().info(dim(`No problem! You can install dependencies yourself after setup.`));
+ ora().info(dim(`No problem! Remember to install dependencies after setup.`));
}
const gitResponse = await prompts({
type: 'confirm',
name: 'git',
- message: `Initialize a new git repository? ${dim('This can be useful to track changes.')}`,
+ message: `Would you like to initialize a new git repository? ${reset(dim('(optional)'))}`,
initial: true,
});
diff --git a/packages/create-astro/src/templates.ts b/packages/create-astro/src/templates.ts
index 2e35d4496..d379b5579 100644
--- a/packages/create-astro/src/templates.ts
+++ b/packages/create-astro/src/templates.ts
@@ -1,6 +1,6 @@
export const TEMPLATES = [
{
- title: 'Just the basics',
+ title: 'Just the basics (recommended)',
value: 'basics',
},
{
@@ -8,15 +8,15 @@ export const TEMPLATES = [
value: 'blog',
},
{
- title: 'Documentation',
- value: 'docs',
- },
- {
title: 'Portfolio',
value: 'portfolio',
},
{
- title: 'Completely empty',
+ title: 'Documentation Site',
+ value: 'docs',
+ },
+ {
+ title: 'Empty project',
value: 'minimal',
},
];