ai-hero-cli 0.0.15 → 0.0.16
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/bin.cjs +9 -6
- package/package.json +1 -1
package/bin.cjs
CHANGED
|
@@ -68295,8 +68295,8 @@ var runLesson = Effect_exports.fn("runLesson")(function* (opts) {
|
|
|
68295
68295
|
"pnpm",
|
|
68296
68296
|
"tsx",
|
|
68297
68297
|
"--env-file",
|
|
68298
|
-
envFilePath
|
|
68299
|
-
mainFile
|
|
68298
|
+
`"${envFilePath}"`,
|
|
68299
|
+
`"${mainFile}"`
|
|
68300
68300
|
).pipe(
|
|
68301
68301
|
Command_exports.stdout("inherit"),
|
|
68302
68302
|
Command_exports.stderr("inherit"),
|
|
@@ -68622,10 +68622,13 @@ var runLessonSimple = (opts) => Effect_exports.gen(function* () {
|
|
|
68622
68622
|
yield* Console_exports.log(
|
|
68623
68623
|
util.styleText("bold", `Running ${lesson} ${subfolder}...`)
|
|
68624
68624
|
);
|
|
68625
|
-
ChildProcess.execSync(
|
|
68626
|
-
|
|
68627
|
-
|
|
68628
|
-
|
|
68625
|
+
ChildProcess.execSync(
|
|
68626
|
+
`pnpm tsx --env-file "${envFilePath}" "${mainFile}"`,
|
|
68627
|
+
{
|
|
68628
|
+
stdio: "inherit",
|
|
68629
|
+
cwd
|
|
68630
|
+
}
|
|
68631
|
+
);
|
|
68629
68632
|
if ((yield* foundLesson.isExplainer()) && readmeFile) {
|
|
68630
68633
|
yield* logReadmeFile({ readmeFile });
|
|
68631
68634
|
}
|