Merge Branch create-util #19
|
@ -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",
|
||||||
|
|
|
@ -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: () => {
|
||||||
|
|
Loading…
Reference in New Issue