@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/index.js CHANGED
@@ -440,6 +440,14 @@ var init_ui = __esm({
440
440
  }
441
441
  });
442
442
 
443
+ // package.json
444
+ var version;
445
+ var init_package = __esm({
446
+ "package.json"() {
447
+ version = "1.9.24";
448
+ }
449
+ });
450
+
443
451
  // src/cli/util.ts
444
452
  var util_exports = {};
445
453
  __export(util_exports, {
@@ -529,10 +537,10 @@ function runAction(fn, opts = {}) {
529
537
  function printBanner(opts = {}) {
530
538
  const ui = getUI();
531
539
  if (opts.compact) {
532
- ui.smallHeader("Runtime CLI v${VERSION}");
540
+ ui.smallHeader(`Runtime CLI v${version}`);
533
541
  return;
534
542
  }
535
- ui.banner("Runtime CLI v${VERSION}", { full: true });
543
+ ui.banner(`Runtime CLI v${version}`, { full: true });
536
544
  }
537
545
  function ok(label, detail) {
538
546
  getUI().ok(label, detail);
@@ -593,6 +601,7 @@ var init_util = __esm({
593
601
  "src/cli/util.ts"() {
594
602
  "use strict";
595
603
  init_ui();
604
+ init_package();
596
605
  DEFAULT_CLOUD_BASE_URL = "https://prismer.cloud";
597
606
  ANSI = {
598
607
  reset: "\x1B[0m",
@@ -11178,11 +11187,7 @@ async function readResponseError(res) {
11178
11187
 
11179
11188
  // src/cli/index.ts
11180
11189
  init_ui();
11181
-
11182
- // package.json
11183
- var version = "1.9.22";
11184
-
11185
- // src/cli/index.ts
11190
+ init_package();
11186
11191
  function buildProgram() {
11187
11192
  const program = new Command18("prismer").description("Prismer Cloud daemon CLI (TS-only).").version(version);
11188
11193
  program.addCommand(buildBannerCommand());