This commit is contained in:
Adam Matthiesen 2024-01-28 01:05:35 -08:00
parent 7de9231d71
commit d28f6da0cf
2 changed files with 4 additions and 10 deletions

View File

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

@ -44,14 +44,8 @@ export async function main() {
return; return;
} }
async function pkgVer () { const packageJSON = await fse.readJson('../package.json');
try { const pkgVer = packageJSON.version;
const packageObj = await fse.readJson('../package.json')
console.log(packageObj.version)
} catch (err) {
console.error(err)
}
}
// 1. Say hello! // 1. Say hello!
p.intro(c.bgMagenta(c.black(` ${c.bold("Astro-GhostCMS Create Utility - By MatthiesenXYZ")} ${c.underline(`( ${pkgVer} )`)} ${c.italic(dryRun ? "[Dry Run] ":" ")}`))) p.intro(c.bgMagenta(c.black(` ${c.bold("Astro-GhostCMS Create Utility - By MatthiesenXYZ")} ${c.underline(`( ${pkgVer} )`)} ${c.italic(dryRun ? "[Dry Run] ":" ")}`)))