@prismer/runtime 1.9.22 → 1.9.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/dist/cli.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.24";
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("Runtime CLI v${VERSION}");
555
+ ui.smallHeader(`Runtime CLI v${version}`);
548
556
  return;
549
557
  }
550
- ui.banner("Runtime CLI v${VERSION}", { full: true });
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_fs3 = require("fs");
611
619
  import_node_path3 = 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",
@@ -10945,11 +10954,7 @@ async function readResponseError(res) {
10945
10954
 
10946
10955
  // src/cli/index.ts
10947
10956
  init_ui();
10948
-
10949
- // package.json
10950
- var version = "1.9.22";
10951
-
10952
- // src/cli/index.ts
10957
+ init_package();
10953
10958
  function buildProgram() {
10954
10959
  const program = new import_commander18.Command("prismer").description("Prismer Cloud daemon CLI (TS-only).").version(version);
10955
10960
  program.addCommand(buildBannerCommand());