Merge Branch create-util #19

Merged
Adammatthiesen merged 62 commits from create-util into main 2024-01-28 09:42:14 +00:00
2 changed files with 7 additions and 8 deletions
Showing only changes of commit ce3cf3b23e - Show all commits

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!'));