@machine0/cli 1.0.146 → 1.0.147

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/bin/entry.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  // This file is the npm `bin` entrypoint and is deliberately NOT part of the
5
- // bundled dist/cli.bundle.cjs. The bundle statically imports dependencies
5
+ // bundled dist/cli.bundle.mjs. The bundle statically imports dependencies
6
6
  // (e.g. @inquirer/prompts) that use Node APIs unavailable on older Node, so
7
7
  // a version check inside the bundle can't run first -- the failure happens
8
8
  // at ES module link time, before any code executes. Keeping this check in a
@@ -23,4 +23,4 @@ if (!isSupportedNodeVersion(process.version)) {
23
23
  process.exit(1);
24
24
  }
25
25
 
26
- require("../dist/cli.bundle.cjs");
26
+ import("../dist/cli.bundle.mjs");