create-mikstack 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -322,7 +322,7 @@ function renderDir(dir, context) {
|
|
|
322
322
|
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region src/cli.ts
|
|
325
|
-
promisify(execFile);
|
|
325
|
+
const execFile$1 = promisify(execFile);
|
|
326
326
|
async function cli() {
|
|
327
327
|
const { values, positionals } = parseArgs({
|
|
328
328
|
allowPositionals: true,
|
|
@@ -359,7 +359,7 @@ async function cli() {
|
|
|
359
359
|
p.log.info(`Scaffolding ${config.projectName} with recommended defaults (non-interactive)...`);
|
|
360
360
|
} else config = await runPrompts(projectName, packageManager);
|
|
361
361
|
const cwd = path.resolve(process.cwd(), config.targetDir);
|
|
362
|
-
const run = (cmd, args) =>
|
|
362
|
+
const run = (cmd, args) => execFile$1(cmd, args, { cwd });
|
|
363
363
|
await p.tasks([
|
|
364
364
|
{
|
|
365
365
|
title: "Scaffolding project",
|