diff --git a/packages/create-astro-ghostcms/package.json b/packages/create-astro-ghostcms/package.json index cb6087b5..4a6c44c7 100644 --- a/packages/create-astro-ghostcms/package.json +++ b/packages/create-astro-ghostcms/package.json @@ -1,6 +1,6 @@ { "name": "@matthiesenxyz/create-astro-ghostcms", - "version": "0.0.1-dev05", + "version": "0.0.1-dev06", "description": "Utility to quickly get started with our Integration and astro", "type": "module", "main": "./create-astro-ghostcms.mjs", diff --git a/packages/create-astro-ghostcms/src/runners/basic.js b/packages/create-astro-ghostcms/src/runners/basic.js index 81d6b3d0..8b0d3c98 100644 --- a/packages/create-astro-ghostcms/src/runners/basic.js +++ b/packages/create-astro-ghostcms/src/runners/basic.js @@ -57,7 +57,7 @@ export async function createBasic(ctx) { } ); - initGitRepo = initGitRepo ?? fCheck.initGitRepo; + initGitRepo = initGitRepo ?? fCheck.initGitRepo.valueOf(); // 3. Initialize git repo if (initGitRepo) { if (dryRun) { @@ -70,14 +70,10 @@ export async function createBasic(ctx) { prompts.log.info("Skipped Git initialization"); } - const nextSteps = ` - If you didnt opt to install Dependencies dont forget to run: \n - ${c.yellow('npm install')} / ${c.yellow('pnpm install')} / ${c.yellow('yarn install')} inside your project directory! \n - \n - ${c.bgYellow(c.black("Dont forget to modify your .env file for YOUR ghost install!"))} ` +const nextSteps = `If you didnt opt to install Dependencies dont forget to run: \n ${c.yellow('npm install')} / ${c.yellow('pnpm install')} / ${c.yellow('yarn install')} inside your project directory! \n \n ${c.bgYellow(c.black("Dont forget to modify your .env file for YOUR ghost install!"))} ` // 4. Install dependencies - installDeps = installDeps ?? fCheck.installDeps; + installDeps = installDeps ?? fCheck.installDeps.valueOf(); const pm = ctx.pkgManager ?? "pnpm"; if (installDeps) { spinner.start(`Installing dependencies with ${pm}`);