Skip to content

rename: pnpm pr-create → create-pr, pnpm merge → merge-pr - #31

Merged
aloekun merged 1 commit into
masterfrom
rename-pnpm-commands
Apr 8, 2026
Merged

rename: pnpm pr-create → create-pr, pnpm merge → merge-pr#31
aloekun merged 1 commit into
masterfrom
rename-pnpm-commands

Conversation

@aloekun

@aloekun aloekun commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Summary

Summary by CodeRabbit

リリースノート

  • Chores
    • PR作成コマンドを pnpm pr-create から pnpm create-pr にリネーム
    • PRマージコマンドを pnpm merge から pnpm merge-pr にリネーム
  • Documentation
    • ドキュメント、設定、メッセージ類のコマンド表記を新しい名前へ更新

@coderabbitai

coderabbitai Bot commented Apr 8, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: da6dea4a-17b2-4738-ab2f-bca4625c1010

📥 Commits

Reviewing files that changed from the base of the PR and between 386557c and f5486b9.

📒 Files selected for processing (8)
  • .claude/hooks-config.toml
  • .claude/settings.local.json.template
  • docs/adr/adr-009-post-pr-monitor.md
  • docs/adr/adr-013-merge-pipeline.md
  • package.json
  • src/cli-merge-pipeline/src/main.rs
  • src/cli-pr-monitor/src/main.rs
  • src/hooks-pre-tool-validate/src/main.rs
✅ Files skipped from review due to trivial changes (8)
  • src/cli-merge-pipeline/src/main.rs
  • src/hooks-pre-tool-validate/src/main.rs
  • .claude/settings.local.json.template
  • src/cli-pr-monitor/src/main.rs
  • docs/adr/adr-009-post-pr-monitor.md
  • .claude/hooks-config.toml
  • package.json
  • docs/adr/adr-013-merge-pipeline.md

📝 Walkthrough

Walkthrough

このPRは、複数のCLIスクリプトコマンド名を体系的に改名します。pr-createcreate-prに、mergemerge-prに変更し、これに対応してpackage.json、ドキュメント、設定ファイル、およびソースコード内のコメント・メッセージを更新しています。

Changes

Cohort / File(s) Summary
パッケージスクリプト定義
package.json
pr-createスクリプトをcreate-prに、mergeスクリプトをmerge-prに改名。各スクリプトは対応する実行ファイルを指したまま。
CLIメインロジック(ドキュメント更新)
src/cli-pr-monitor/src/main.rs, src/cli-merge-pipeline/src/main.rs
モジュール冒頭コメントおよび実行時のログ/エラーメッセージで推奨コマンド表記をpnpm pr-createpnpm create-prpnpm mergepnpm merge-prに変更。ロジック自体は変更なし。
ガード・フック設定
src/hooks-pre-tool-validate/src/main.rs, .claude/hooks-config.toml
gh pr create/gh pr mergeブロック時の案内文言を新しいpnpmコマンド名に置換。検出ロジックや正規表現は変更なし。
設定テンプレート
.claude/settings.local.json.template
許可するBashコマンド名をpnpm pr-createpnpm create-prpnpm mergepnpm merge-prへ置換(ワイルドカード指定の有無も調整)。
ドキュメント
docs/adr/adr-009-post-pr-monitor.md, docs/adr/adr-013-merge-pipeline.md
ADR内の例示コマンドとエラーメッセージ表記を新しいコマンド名へ更新。制御フロー記述は変更なし。
CI/Claude設定
.claude/hooks-config.toml
gh-pr-merge-guardのプリセット案内でリダイレクト先をpnpm merge-prへ変更。

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed プルリクエストのタイトルは、変更セットの主要な変更内容を明確に説明しており、2つのpnpmコマンド名の変更(pr-create → create-pr、merge → merge-pr)を簡潔かつ具体的に要約しています。
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.claude/settings.local.json.template:
- Around line 6-8: Update the command patterns that incorrectly use a
space+asterisk so they match zero-arg invocations: replace the strings
"Bash(pnpm create-pr *)" and "Bash(pnpm merge-pr *)" with "Bash(pnpm create-pr)"
and "Bash(pnpm merge-pr)" respectively (the wildcard form in this ruleset is the
:* form when needed, but here we want to allow no-argument calls by removing the
trailing space+asterisk).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 635277a4-fa4f-413c-982c-15c9cd5ec31a

📥 Commits

Reviewing files that changed from the base of the PR and between 2a87fb3 and 386557c.

📒 Files selected for processing (8)
  • .claude/hooks-config.toml
  • .claude/settings.local.json.template
  • docs/adr/adr-009-post-pr-monitor.md
  • docs/adr/adr-013-merge-pipeline.md
  • package.json
  • src/cli-merge-pipeline/src/main.rs
  • src/cli-pr-monitor/src/main.rs
  • src/hooks-pre-tool-validate/src/main.rs

Comment thread .claude/settings.local.json.template
パーミッション設定で無引数パターンも追加(CodeRabbit #31 指摘対応)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aloekun
aloekun force-pushed the rename-pnpm-commands branch from 386557c to f5486b9 Compare April 8, 2026 12:25
@aloekun
aloekun merged commit 852e63c into master Apr 8, 2026
1 check passed
@aloekun
aloekun deleted the rename-pnpm-commands branch April 8, 2026 12:31
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