@nmakarov/cli-toolkit 0.7.0 → 0.7.2

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/screen.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  var __esmCache = {};
4
4
  var __loadESMSync = function(moduleName) {
5
5
  if (!__esmCache[moduleName]) {
6
- throw new Error(`ESM module "${moduleName}" not loaded. Please call the load() function first: const screen = require("@nmakarov/cli-toolkit/screen"); await screen.load();`);
6
+ throw new Error(`ESM module "${moduleName}" not loaded. Please call the load() function first: const toolkit = require("@nmakarov/cli-toolkit"); await toolkit.load();`);
7
7
  }
8
8
  return __esmCache[moduleName];
9
9
  };
@@ -161,7 +161,7 @@ function ScreenFooter({ lines, textStyle }) {
161
161
  // src/screen/list-components.ts
162
162
  var import_react2 = null; // Will be set by load();
163
163
  var import_ink2 = null; // Will be set by load();
164
- // Removed: intermediate assignment that would execute during module load
164
+ // Removed: intermediate assignment - code will access import variable directly
165
165
  function MultiColumnListComponent({ items, ctx, selectedIndexRef }) {
166
166
  const [, forceUpdate] = (0, import_react2.useState)({});
167
167
  const termWidth = (process.stdout.columns || 80) - 8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nmakarov/cli-toolkit",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "A comprehensive toolkit for building CLI applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",