@nmakarov/cli-toolkit 0.6.0 → 0.7.0

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
@@ -1718,6 +1718,22 @@ function organizeFooterMessages(messages) {
1718
1718
  return lines;
1719
1719
  }
1720
1720
 
1721
+ // src/screen/index.ts
1722
+ var loadPromise = null;
1723
+ async function load() {
1724
+ if (loadPromise) return loadPromise;
1725
+ loadPromise = Promise.all([
1726
+ import("react"),
1727
+ import("ink")
1728
+ ]).then(() => {
1729
+ });
1730
+ return loadPromise;
1731
+ }
1732
+ if (typeof window === "undefined") {
1733
+ load().catch(() => {
1734
+ });
1735
+ }
1736
+
1721
1737
  // src/filedatabase/index.ts
1722
1738
  import fs3 from "fs";
1723
1739
  import path3 from "path";
@@ -3216,6 +3232,7 @@ export {
3216
3232
  createElement2 as h,
3217
3233
  joiEdateType,
3218
3234
  joiStringArrayType,
3235
+ load,
3219
3236
  organizeFooterMessages,
3220
3237
  setupContext,
3221
3238
  showListScreen,