small create-astro wording changes (#3831)
This commit is contained in:
parent
0e01e0bb58
commit
4fb08502a9
3 changed files with 15 additions and 10 deletions
5
.changeset/wild-pens-hunt.md
Normal file
5
.changeset/wild-pens-hunt.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'create-astro': patch
|
||||
---
|
||||
|
||||
Small wording updates
|
|
@ -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,
|
||||
});
|
||||
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
export const TEMPLATES = [
|
||||
{
|
||||
title: 'Just the basics',
|
||||
title: 'Just the basics (recommended)',
|
||||
value: 'basics',
|
||||
},
|
||||
{
|
||||
title: 'Blog',
|
||||
value: 'blog',
|
||||
},
|
||||
{
|
||||
title: 'Documentation',
|
||||
value: 'docs',
|
||||
},
|
||||
{
|
||||
title: 'Portfolio',
|
||||
value: 'portfolio',
|
||||
},
|
||||
{
|
||||
title: 'Completely empty',
|
||||
title: 'Documentation Site',
|
||||
value: 'docs',
|
||||
},
|
||||
{
|
||||
title: 'Empty project',
|
||||
value: 'minimal',
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue