Comparing version 0.1.7-dev to 0.1.7
{ | ||
"name": "nuekit", | ||
"version": "0.1.7-dev", | ||
"version": "0.1.7", | ||
@@ -5,0 +5,0 @@ "description": "The Nue framework for building websites and webapps", |
@@ -83,2 +83,6 @@ #!/usr/bin/env bun | ||
async function printVersion() { | ||
log(`Nue ${await getVersion()} ${colors.green('•')} ${getEngine()}`) | ||
} | ||
async function runCommand(args) { | ||
@@ -88,3 +92,3 @@ const { createKit } = await import('./nuekit.js') | ||
console.info('') | ||
log('Engine:', colors.cyan(getEngine())) | ||
await printVersion() | ||
@@ -111,3 +115,3 @@ // build | ||
} else if (args.version) { | ||
console.info('Nue', await getVersion(), colors.gray('/'), getEngine()) | ||
await printVersion() | ||
@@ -114,0 +118,0 @@ // root is required |
@@ -26,3 +26,3 @@ | ||
await fs.rmdir(outdir, { recursive: true }) | ||
await fs.mkdir(outdir) | ||
await fs.mkdir(outdir, { recursive: true }) | ||
await fs.writeFile(latest, '') | ||
@@ -29,0 +29,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72794
1708