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", "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", "description": "Utility to quickly get started with our Integration and astro",
"type": "module", "type": "module",
"main": "./create-astro-ghostcms.mjs", "main": "./create-astro-ghostcms.mjs",

View File

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