This commit is contained in:
Adam Matthiesen 2024-01-27 19:50:53 -08:00
parent aaf860cc73
commit 7d8555a95b
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -45,19 +45,19 @@ export async function createBasic(ctx) {
message: `${c.cyan('Install dependencies? (Recommended)')}`,
initialValue: false,
}),
initGitRepo: () => p.confirm({
GitRepo: () => p.confirm({
message: `${c.cyan('Initialize a Git repository?')} ${c.italic(c.gray(`( Tip: If this option gets 'stuck' press the enter button a second time! )`))}`,
initialValue: false,
}),
readyCheck: () => p.confirm({
message: `${c.bgYellow(c.black(c.bold(' CONFIRM: Press Enter Twice to continue or `Ctrl+C` to Cancel. ')))}`,
message: `${c.bgYellow(c.black(c.bold(' CONFIRM: Press Select Yes to continue or `Ctrl+C` to Cancel. ')))}`,
initialValue: true,
}),
},
{ onCancel: () => { exitPrompt(); } });
if(fCheck.readyCheck){
initGitRepo = initGitRepo ?? fCheck.initGitRepo;
initGitRepo = initGitRepo ?? fCheck.GitRepo;
// 3. Initialize git repo
if (initGitRepo) {
if (dryRun) {