This commit is contained in:
Adam Matthiesen 2024-01-27 20:05:46 -08:00
parent 1d0dd0e9eb
commit f94a3fcba9
3 changed files with 4 additions and 3 deletions

View File

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

@ -45,6 +45,8 @@ export async function main() {
// 1. Say hello! // 1. Say hello!
p.intro(c.bgMagenta(c.black(` ${c.bold("Astro-GhostCMS Create Utility - By MatthiesenXYZ")} ${c.italic(dryRun ? "[Dry Run] ":" ")}`))) p.intro(c.bgMagenta(c.black(` ${c.bold("Astro-GhostCMS Create Utility - By MatthiesenXYZ")} ${c.italic(dryRun ? "[Dry Run] ":" ")}`)))
p.note(c.bold(" Want to Initiate a git repo at the same time as deploying your project? Use '--git' at the end of the command \n Using a package manager other than pnpm? Use '--pkg-manager npm' or replace npm with yarn."))
// 2. Get template to set up // 2. Get template to set up
let [template, ...args] = flags._; let [template, ...args] = flags._;
if (template && !isValidTemplate(template)) { if (template && !isValidTemplate(template)) {

View File

@ -56,8 +56,7 @@ export async function createBasic(ctx) {
}, },
{ onCancel: () => { exitPrompt(); } }); { onCancel: () => { exitPrompt(); } });
if(fCheck.readyCheck){ if(fCheck.readyCheck){;
//initGitRepo = initGitRepo ?? fCheck.GitRepo;
// 3. Initialize git repo // 3. Initialize git repo
if (initGitRepo) { if (initGitRepo) {
if (dryRun) { if (dryRun) {