We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a0669 commit a586dcdCopy full SHA for a586dcd
packages/cli/bin/index.js
@@ -1,2 +1,11 @@
1
-#! /usr/bin/env node
+#!/usr/bin/env node
2
+
3
+/**
4
+ * This file serves as the CLI entry point.
5
+ *
6
+ * We use a separate bin file (instead of pointing directly to src/index.js)
7
+ * because TypeScript build processes don't preserve file permissions.
8
+ * By tracking this file in git with executable permissions (+x), we ensure
9
+ * the CLI remains executable after npm publish without needing post-install scripts.
10
+ */
11
import '../src/index.js';
0 commit comments