Skip to content

Commit a586dcd

Browse files
committed
chore: add comment
1 parent 17a0669 commit a586dcd

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/cli/bin/index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
#! /usr/bin/env node
1+
#!/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+
*/
211
import '../src/index.js';

0 commit comments

Comments
 (0)