command-code 0.41.4 → 0.42.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/bin/run.mjs CHANGED
@@ -17,4 +17,9 @@
17
17
  if (!process.env.NODE_ENV) {
18
18
  process.env.NODE_ENV = 'production';
19
19
  }
20
- await import(new URL('../dist/index.mjs', import.meta.url));
20
+ // NOTE: dist/index.mjs is now itself a launcher (built from src/launcher.ts);
21
+ // the real bundle is dist/cli.mjs. This file is retained only as a safety net
22
+ // for installs whose bin symlink was linked to bin/run.mjs by the `npm i -g`
23
+ // fallback path of an older auto-update, so that they keep working after they
24
+ // atomic-update to a version where the canonical bin target is dist/index.mjs.
25
+ await import(new URL('../dist/cli.mjs', import.meta.url));