@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.js CHANGED
@@ -441,6 +441,14 @@ var init_ui = __esm({
441
441
  }
442
442
  });
443
443
 
444
+ // package.json
445
+ var version;
446
+ var init_package = __esm({
447
+ "package.json"() {
448
+ version = "1.9.24";
449
+ }
450
+ });
451
+
444
452
  // src/cli/util.ts
445
453
  var util_exports = {};
446
454
  __export(util_exports, {
@@ -530,10 +538,10 @@ function runAction(fn, opts = {}) {
530
538
  function printBanner(opts = {}) {
531
539
  const ui = getUI();
532
540
  if (opts.compact) {
533
- ui.smallHeader("Runtime CLI v${VERSION}");
541
+ ui.smallHeader(`Runtime CLI v${version}`);
534
542
  return;
535
543
  }
536
- ui.banner("Runtime CLI v${VERSION}", { full: true });
544
+ ui.banner(`Runtime CLI v${version}`, { full: true });
537
545
  }
538
546
  function ok(label, detail) {
539
547
  getUI().ok(label, detail);
@@ -594,6 +602,7 @@ var init_util = __esm({
594
602
  "src/cli/util.ts"() {
595
603
  "use strict";
596
604
  init_ui();
605
+ init_package();
597
606
  DEFAULT_CLOUD_BASE_URL = "https://prismer.cloud";
598
607
  ANSI = {
599
608
  reset: "\x1B[0m",
@@ -10935,11 +10944,7 @@ async function readResponseError(res) {
10935
10944
 
10936
10945
  // src/cli/index.ts
10937
10946
  init_ui();
10938
-
10939
- // package.json
10940
- var version = "1.9.22";
10941
-
10942
- // src/cli/index.ts
10947
+ init_package();
10943
10948
  function buildProgram() {
10944
10949
  const program = new Command18("prismer").description("Prismer Cloud daemon CLI (TS-only).").version(version);
10945
10950
  program.addCommand(buildBannerCommand());