@promptbook/cli 0.112.0-63 → 0.112.0-64

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/esm/index.es.js CHANGED
@@ -35,7 +35,6 @@ import * as readline from 'readline';
35
35
  import { clearLine, cursorTo, createInterface } from 'readline';
36
36
  import { spawn } from 'child_process';
37
37
  import { EventEmitter } from 'events';
38
- import { dirname as dirname$1 } from 'path/posix';
39
38
  import { Client } from 'pg';
40
39
  import '@supabase/supabase-js';
41
40
  import { Subject, BehaviorSubject } from 'rxjs';
@@ -58,7 +57,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
58
57
  * @generated
59
58
  * @see https://github.com/webgptorg/promptbook
60
59
  */
61
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-63';
60
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-64';
62
61
  /**
63
62
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
64
63
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -51683,7 +51682,7 @@ async function runBashScriptWithOutput(options) {
51683
51682
  async function withTempScript(options, handler) {
51684
51683
  const { scriptPath, scriptContent } = options;
51685
51684
  let hasFailed = false;
51686
- await mkdir(dirname$1(scriptPath), { recursive: true });
51685
+ await mkdir(dirname(scriptPath), { recursive: true });
51687
51686
  await writeFile(scriptPath, scriptContent, 'utf-8');
51688
51687
  try {
51689
51688
  return await handler(scriptPath);