Skip to content

Conversation

@akiojin
Copy link
Owner

@akiojin akiojin commented Nov 18, 2025

Summary

Complete the pnpm→npm migration by removing all remaining pnpm references from README.ja.md. This fixes the incomplete migration from PR #104.

Changes

  • Removed pnpm from requirements section (line 173)
  • Replaced pnpm install / pnpm install --frozen-lockfile with npm ci in all instructions
  • Removed pnpm-specific build approval section (pnpm approve-builds better-sqlite3)
  • Updated Docker/Linux container setup instructions
  • Updated all environment-specific setup instructions (Windows, WSL, macOS)
  • Updated rebuild command from pnpm rebuild to npm rebuild

Why fix: type?

This is a bug fix because:

  • The incomplete migration in PR chore: migrate from pnpm to npm for package management #104 left Japanese users with incorrect setup instructions
  • Following pnpm-specific instructions would fail since pnpm is no longer supported
  • This completes the migration and ensures all documentation is consistent with npm

Related

Test Plan

  • Verified all pnpm references removed from README.ja.md
  • All CI tests passing (test:ci)
  • Markdownlint passing
  • Conventional Commits format validated

🤖 Generated with Claude Code

Summary by CodeRabbit

ドキュメンテーション

  • インストール手順をpnpmからnpm ciに更新しました。
  • 全ての環境(基本、Windows、WSL、Docker、macOS)のセットアップガイドを調整しました。
  • Node.jsバージョン要件は変わりません(18.x/20.x/22.x対応)。

Complete the pnpm to npm migration by removing all pnpm references
from the Japanese README. This fixes the incomplete migration in PR #104.

Changes:
- Remove pnpm from requirements section
- Replace all pnpm install commands with npm ci
- Remove pnpm-specific build approval instructions
- Update Docker/Linux container instructions
- Update all environment-specific setup instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions github-actions bot enabled auto-merge November 18, 2025 08:10
@coderabbitai
Copy link

coderabbitai bot commented Nov 18, 2025

Walkthrough

README.ja.mdのインストール手順を全面的に更新し、pnpmベースのコマンドをnpm ciに置き換え。基本ルール、Windows、WSL、Docker、macOSなど複数のセットアップセクション全体にわたって、依存関係管理コマンドの統一化を行いました。

Changes

Cohort / File(s) 変更内容
ドキュメント更新
README.ja.md
pnpmインストールコマンド(pnpm install / pnpm install --frozen-lockfile)をnpm ciに統一。pnpm rebuildをnpm rebuildに置き換え。基本ルール、Windows、WSL、Docker、macOS各セクションのセットアップ手順を一貫性を持たせて修正。Node.jsバージョン要件は変更なし。

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

  • ドキュメント内での機械的なコマンド置き換えのため、コード変更はなし
  • 各セクションで一貫した置き換えパターンを確認するだけで十分

Possibly related PRs

Poem

🐰 Package managerよ、新しい友よ
npm ciで依存をきっちり固め
pnpmの日々は今日でさようなら
統一された手順に、みんなニッコリ
スムーズなセットアップ、ホップステップジャンプ!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR タイトルは日本語 README での pnpm から npm への完全な移行という主要な変更を正確に反映しており、簡潔かつ具体的です。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bugfix/non-register-tools

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3f6f72a and 95fef1e.

📒 Files selected for processing (1)
  • README.ja.md (2 hunks)
🔇 Additional comments (7)
README.ja.md (7)

198-199: 基本ルール: npm ci への切り替え正確です。

npm cipnpm install --frozen-lockfile の等価物として適切です。package-lock.json に基づく決定的インストールが実行されます。


206-207: Windows 環境: npm ci コマンドの置き換え正確です。

パス指定(C:\path\to\unity-mcp-server\mcp-server)と npm ci コマンドが正確に更新されています。


212-212: WSL 環境: npm ci コマンドの置き換え正確です。

Linux ファイルシステム上のパス指定(/home/<user>/unity-mcp-server/mcp-server)と npm ci コマンドが正確に更新されています。


216-216: Docker 環境: npm ci --workspace=mcp-server が適切です。

npm workspaces 構文は npm 7+ で対応しており、Node.js 18.x/20.x/22.x 要件下では問題ありません。


221-221: macOS 環境: npm ci コマンドの置き換え正確です。

パス指定(~/unity-mcp-server/mcp-server)と npm ci コマンドが正確に更新されています。


223-223: セットアップ確認コマンド: npm rebuild への切り替え正確です。

npm rebuild better-sqlite3 --workspace=mcp-serverpnpm rebuild の等価な代替物です。ネイティブ拡張の再ビルド指示が正確に更新されています。


1-624: pnpm 残存参照なし — 置き換え完了を確認しました。

README.ja.md 全体から pnpm への参照をスキャンした結果、マッチはありませんでした。ドキュメント内のすべての pnpm 参照が npm に正しく置き換わっており、PR の目的が達成されています。


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.

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


- **基本ルール**: `.mcp.json` で `"command": "node"`(例: `node bin/unity-mcp-server serve`)を使う場合は、MCPサーバーを動かすマシン/コンテナ内で本パッケージが展開されているディレクトリで `pnpm install`(または `pnpm install --frozen-lockfile`)を実行してから MCP クライアントを起動します。
- **pnpmでのビルド許可**: pnpm v10以降は依存のインストールスクリプトを許可制にしています。`better-sqlite3` がビルドできるよう、初回セットアップ時に `pnpm approve-builds better-sqlite3` を実行し、対話メニューで承認してください。citeturn1view0
- **基本ルール**: `.mcp.json` で `"command": "node"`(例: `node bin/unity-mcp-server serve`)を使う場合は、MCPサーバーを動かすマシン/コンテナ内で本パッケージが展開されているディレクトリで `npm ci` を実行してから MCP クライアントを起動します。

Choose a reason for hiding this comment

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

P1 Badge Fix npm ci path in workspace setup instructions

README.ja.md:198 now tells users to run npm ci from the mcp-server package directory, but this workspace only has package-lock.json at the repo root. Running npm ci inside mcp-server fails with npm ERR! ENOLOCK, so the documented setup steps for Windows/WSL/macOS and the Docker fallback will break. Update the instructions to run the install from the workspace root (e.g., npm ci --workspace=mcp-server in the repo root) or otherwise point users at the correct path.

Useful? React with 👍 / 👎.

@github-actions github-actions bot merged commit 1d5073d into develop Nov 18, 2025
5 checks passed
@akiojin
Copy link
Owner Author

akiojin commented Nov 18, 2025

🎉 This PR is included in version 2.40.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants