Skip to content

Commit f4c744d

Browse files
say8425claude
andcommitted
fix: use dist/index.js as bin entry for bunx compatibility
bunx 실행 시 src/index.ts가 나머지 모듈을 찾지 못하는 문제 수정. bin과 files를 빌드된 dist/index.js로 변경. Closes #28 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 516f8c8 commit f4c744d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
"typescript": "^5.9.3"
1212
},
1313
"bin": {
14-
"cc-statusline": "src/index.ts"
14+
"cc-statusline": "dist/index.js"
1515
},
1616
"description": "Custom statusline for Claude Code",
1717
"files": [
18-
"src/index.ts",
19-
"src/lib.ts"
18+
"dist/index.js"
2019
],
2120
"publishConfig": {
2221
"registry": "https://registry.npmjs.org"

0 commit comments

Comments
 (0)