Merge Branch create-util #19
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"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",
|
||||
"type": "module",
|
||||
"main": "./create-astro-ghostcms.mjs",
|
||||
|
|
|
@ -45,6 +45,8 @@ export async function main() {
|
|||
// 1. Say hello!
|
||||
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
|
||||
let [template, ...args] = flags._;
|
||||
if (template && !isValidTemplate(template)) {
|
||||
|
|
|
@ -56,8 +56,7 @@ export async function createBasic(ctx) {
|
|||
},
|
||||
{ onCancel: () => { exitPrompt(); } });
|
||||
|
||||
if(fCheck.readyCheck){
|
||||
//initGitRepo = initGitRepo ?? fCheck.GitRepo;
|
||||
if(fCheck.readyCheck){;
|
||||
// 3. Initialize git repo
|
||||
if (initGitRepo) {
|
||||
if (dryRun) {
|
||||
|
|
Loading…
Reference in New Issue