@promptbook/cli 0.81.0-23 → 0.81.0-24
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 +3 -2
- package/esm/index.es.js.map +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +3 -2
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -39,7 +39,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
39
39
|
* @generated
|
|
40
40
|
* @see https://github.com/webgptorg/promptbook
|
|
41
41
|
*/
|
|
42
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-
|
|
42
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-23';
|
|
43
43
|
/**
|
|
44
44
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
45
45
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -11773,7 +11773,8 @@ function initializeMakeCommand(program) {
|
|
|
11773
11773
|
console.error(colors.red("Function name \"".concat(functionName, "\" is not valid javascript name")));
|
|
11774
11774
|
return [2 /*return*/, process.exit(1)];
|
|
11775
11775
|
}
|
|
11776
|
-
if (
|
|
11776
|
+
if (rootUrl !== undefined &&
|
|
11777
|
+
!isValidUrl(rootUrl) /* <- Note: Not using `isValidPipelineUrl` because this is root url not book url */) {
|
|
11777
11778
|
console.error(colors.red("Root URL ".concat(rootUrl, " is not valid URL")));
|
|
11778
11779
|
return [2 /*return*/, process.exit(1)];
|
|
11779
11780
|
}
|