create-kitql
Advanced tools
Comparing version 0.0.4-next.1 to 0.0.4-next.2
@@ -8,3 +8,2 @@ #!/usr/bin/env node | ||
import { exit } from 'process' | ||
import { fileURLToPath } from 'url' | ||
@@ -16,3 +15,3 @@ const { version } = JSON.parse(fs.readFileSync(new URL('package.json', import.meta.url), 'utf-8')) | ||
// prepare options | ||
const templatesDir = sourcePath(`./templates`) | ||
const templatesDir = `./templates` | ||
const options = fs | ||
@@ -121,3 +120,3 @@ .readdirSync(templatesDir) | ||
copy( | ||
sourcePath(path.join(templatesDir, template)), | ||
path.join(templatesDir, template), | ||
projectDir, | ||
@@ -197,6 +196,2 @@ { | ||
function sourcePath(/** @type {string} */ path) { | ||
return fileURLToPath(new URL(path, import.meta.url).href) | ||
} | ||
// function pCancel(cancelText = 'Operation cancelled.') { | ||
@@ -203,0 +198,0 @@ // p.cancel(cancelText) |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.0.4-next.1", | ||
"version": "0.0.4-next.2", | ||
"license": "MIT", | ||
@@ -12,0 +12,0 @@ "type": "module", |
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
68382
666