Merge Branch create-util #19
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"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",
|
||||
"type": "module",
|
||||
"main": "./create-astro-ghostcms.mjs",
|
||||
|
|
|
@ -44,15 +44,9 @@ export async function main() {
|
|||
return;
|
||||
}
|
||||
|
||||
async function pkgVer () {
|
||||
try {
|
||||
const packageObj = await fse.readJson('../package.json')
|
||||
console.log(packageObj.version)
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
}
|
||||
}
|
||||
|
||||
const packageJSON = await fse.readJson('../package.json');
|
||||
const pkgVer = packageJSON.version;
|
||||
|
||||
// 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] ":" ")}`)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue