Merge Branch create-util #19
|
@ -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",
|
||||
|
|
|
@ -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!'));
|
||||
|
|
Loading…
Reference in New Issue