Skip to content

fix: bin 경로에서 ./ 제거 (npm 경고) - #14

Merged
jeongph merged 1 commit into
mainfrom
fix/bin-path
Jul 26, 2026
Merged

fix: bin 경로에서 ./ 제거 (npm 경고)#14
jeongph merged 1 commit into
mainfrom
fix/bin-path

Conversation

@jeongph

@jeongph jeongph commented Jul 26, 2026

Copy link
Copy Markdown
Member

npm publish 시 아래 경고가 발생했다:

npm warn publish "bin[pilot]" script name dist/cli/index.js was invalid and removed

bin 값의 ./ 접두사를 npm이 무효로 보고 엔트리를 제거해서, 그대로 배포되면 전역 설치 후 pilot 명령이 생성되지 않을 수 있다. npm pkg fix가 제안한 대로 ./dist/cli/index.jsdist/cli/index.js로 수정한다.

첫 배포 전에 반영. Refs #10

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the command-line executable path to ensure the pilot command launches reliably.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1622db82-6725-4fde-b0b4-1292f8706bba

📥 Commits

Reviewing files that changed from the base of the PR and between e84a50d and 7967f24.

📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The package metadata updates the pilot executable mapping from ./dist/cli/index.js to dist/cli/index.js.

Changes

CLI packaging

Layer / File(s) Summary
Update pilot executable mapping
package.json
The pilot bin entry now points to dist/cli/index.js without the leading ./.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related issues

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes removing the ./ prefix from the bin path to address the npm warning.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/bin-path

Comment @coderabbitai help to get the list of available commands.

@jeongph
jeongph merged commit 3618d6d into main Jul 26, 2026
2 checks passed
@jeongph
jeongph deleted the fix/bin-path branch July 26, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant