This commit is contained in:
Adam Matthiesen 2024-01-27 15:50:40 -08:00
parent 0fafc0bd9f
commit ce3cf3b23e
2 changed files with 7 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@matthiesenxyz/create-astro-ghostcms",
"version": "0.0.1-dev06",
"version": "0.0.1-dev07",
"description": "Utility to quickly get started with our Integration and astro",
"type": "module",
"main": "./create-astro-ghostcms.mjs",

View File

@ -39,16 +39,15 @@ export async function createBasic(ctx) {
}
spinner.stop(`New Astro-GhostCMS project '${project.name}' created 🚀`);
const fCheck = await prompts.group(
{ initGitRepo: () =>
{ installDeps: () =>
prompts.confirm({
message: "Install dependencies? (Recommended)",
initialValue: false,
}), initGitRepo: () =>
prompts.confirm({
message: "Initialize a Git repository?",
initialValue: false,
}),
installDeps: () =>
prompts.confirm({
message: "Install dependencies? (Recommended)",
initialValue: false,
}),
}),
},
{ onCancel: () => {
prompts.cancel(c.red('Operation Cancelled!'));