This commit is contained in:
Adam Matthiesen 2024-01-27 15:48:35 -08:00
parent 778c6e9655
commit 0fafc0bd9f
2 changed files with 4 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@matthiesenxyz/create-astro-ghostcms", "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", "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",

View File

@ -57,7 +57,7 @@ export async function createBasic(ctx) {
} }
); );
initGitRepo = initGitRepo ?? fCheck.initGitRepo; initGitRepo = initGitRepo ?? fCheck.initGitRepo.valueOf();
// 3. Initialize git repo // 3. Initialize git repo
if (initGitRepo) { if (initGitRepo) {
if (dryRun) { if (dryRun) {
@ -70,14 +70,10 @@ export async function createBasic(ctx) {
prompts.log.info("Skipped Git initialization"); prompts.log.info("Skipped Git initialization");
} }
const nextSteps = ` 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!"))} `
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 // 4. Install dependencies
installDeps = installDeps ?? fCheck.installDeps; installDeps = installDeps ?? fCheck.installDeps.valueOf();
const pm = ctx.pkgManager ?? "pnpm"; const pm = ctx.pkgManager ?? "pnpm";
if (installDeps) { if (installDeps) {
spinner.start(`Installing dependencies with ${pm}`); spinner.start(`Installing dependencies with ${pm}`);