test
This commit is contained in:
parent
9570e8e6da
commit
1d0dd0e9eb
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@matthiesenxyz/create-astro-ghostcms",
|
"name": "@matthiesenxyz/create-astro-ghostcms",
|
||||||
"version": "0.0.1-dev18",
|
"version": "0.0.1-dev19",
|
||||||
"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",
|
||||||
|
|
|
@ -45,10 +45,10 @@ export async function createBasic(ctx) {
|
||||||
message: `${c.cyan('Install dependencies? (Recommended)')}`,
|
message: `${c.cyan('Install dependencies? (Recommended)')}`,
|
||||||
initialValue: false,
|
initialValue: false,
|
||||||
}),
|
}),
|
||||||
GitRepo: () => p.confirm({
|
//GitRepo: () => p.confirm({
|
||||||
message: `${c.cyan('Initialize a Git repository?')} ${c.italic(c.gray("( Tip: This Option gets Stuck Press Enter Twice if you get no reponse! )"))}`,
|
// message: `${c.cyan('Initialize a Git repository?')} ${c.italic(c.gray("( Tip: This Option gets Stuck Press Enter Twice if you get no reponse! )"))}`,
|
||||||
initialValue: false,
|
// initialValue: false,
|
||||||
}),
|
//}),
|
||||||
readyCheck: () => p.confirm({
|
readyCheck: () => p.confirm({
|
||||||
message: `${c.bgYellow(c.black(c.bold(' CONFIRM: Press Select Yes 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,
|
initialValue: true,
|
||||||
|
@ -57,7 +57,7 @@ export async function createBasic(ctx) {
|
||||||
{ onCancel: () => { exitPrompt(); } });
|
{ onCancel: () => { exitPrompt(); } });
|
||||||
|
|
||||||
if(fCheck.readyCheck){
|
if(fCheck.readyCheck){
|
||||||
initGitRepo = initGitRepo ?? fCheck.GitRepo;
|
//initGitRepo = initGitRepo ?? fCheck.GitRepo;
|
||||||
// 3. Initialize git repo
|
// 3. Initialize git repo
|
||||||
if (initGitRepo) {
|
if (initGitRepo) {
|
||||||
if (dryRun) {
|
if (dryRun) {
|
||||||
|
|
Loading…
Reference in New Issue