@prismer/runtime 1.9.22 → 1.9.23
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/cli.cjs +12 -7
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +12 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +12 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -457,6 +457,14 @@ var init_ui = __esm({
|
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
|
|
460
|
+
// package.json
|
|
461
|
+
var version;
|
|
462
|
+
var init_package = __esm({
|
|
463
|
+
"package.json"() {
|
|
464
|
+
version = "1.9.22";
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
|
|
460
468
|
// src/cli/util.ts
|
|
461
469
|
var util_exports = {};
|
|
462
470
|
__export(util_exports, {
|
|
@@ -544,10 +552,10 @@ function runAction(fn, opts = {}) {
|
|
|
544
552
|
function printBanner(opts = {}) {
|
|
545
553
|
const ui = getUI();
|
|
546
554
|
if (opts.compact) {
|
|
547
|
-
ui.smallHeader(
|
|
555
|
+
ui.smallHeader(`Runtime CLI v${version}`);
|
|
548
556
|
return;
|
|
549
557
|
}
|
|
550
|
-
ui.banner(
|
|
558
|
+
ui.banner(`Runtime CLI v${version}`, { full: true });
|
|
551
559
|
}
|
|
552
560
|
function ok(label, detail) {
|
|
553
561
|
getUI().ok(label, detail);
|
|
@@ -610,6 +618,7 @@ var init_util = __esm({
|
|
|
610
618
|
import_node_fs12 = require("fs");
|
|
611
619
|
import_node_path8 = require("path");
|
|
612
620
|
init_ui();
|
|
621
|
+
init_package();
|
|
613
622
|
DEFAULT_CLOUD_BASE_URL = "https://prismer.cloud";
|
|
614
623
|
ANSI = {
|
|
615
624
|
reset: "\x1B[0m",
|
|
@@ -11236,11 +11245,7 @@ async function readResponseError(res) {
|
|
|
11236
11245
|
|
|
11237
11246
|
// src/cli/index.ts
|
|
11238
11247
|
init_ui();
|
|
11239
|
-
|
|
11240
|
-
// package.json
|
|
11241
|
-
var version = "1.9.22";
|
|
11242
|
-
|
|
11243
|
-
// src/cli/index.ts
|
|
11248
|
+
init_package();
|
|
11244
11249
|
function buildProgram() {
|
|
11245
11250
|
const program = new import_commander18.Command("prismer").description("Prismer Cloud daemon CLI (TS-only).").version(version);
|
|
11246
11251
|
program.addCommand(buildBannerCommand());
|