chore(deps): FontAwesome を v7 へ一括アップグレード(react-fontawesome v3)#63
Conversation
…esome to v3 Dependabot split the FontAwesome 7 bump across separate PRs, which fail or create version skew individually (e.g. core 7 with icon packages still at 6). Upgrade all @fortawesome/* packages together instead: - fontawesome-svg-core, free-solid/brands/regular-svg-icons -> ^7.2.0 - react-fontawesome 0.2.x (deprecated) -> ^3.3.1 (peers svg-core ~6||~7, React 18||19; the <FontAwesomeIcon icon=.. className=.. /> API is unchanged). Verified: npm install, vite build, eslint and `npm audit --audit-level=high` all pass; SSR-rendering faGoogle (brands) and faCircleInfo (solid) via react-fontawesome 3 produces correct <svg> markup with classes preserved. Supersedes Dependabot PRs #48, #52, #56, #57. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 53 minutes and 6 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
FontAwesome 関連パッケージを分割アップデートによる版ズレ/CI 失敗を避けるため、@fortawesome/* をまとめて v7 系へ揃え、併せて非推奨の @fortawesome/react-fontawesome を v3 系へ更新する PR です。
Changes:
@fortawesome/fontawesome-svg-coreと各種 free icon packs を^7.2.0へ更新@fortawesome/react-fontawesomeを^0.2.2→^3.3.1へ更新- 依存解決の結果として
package-lock.jsonを更新
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | FontAwesome 関連依存を v7 / react-fontawesome v3 に揃える |
| package-lock.json | 依存解決結果(FontAwesome v7 / react-fontawesome v3)をロックファイルへ反映 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
概要
Dependabot は FontAwesome 7 をパッケージ毎に分割して PR 化しており、個別だと CI 失敗や版ズレ(core7 × icons6)を起こします。全
@fortawesome/*をまとめて 7 系へ更新します。変更
fontawesome-svg-core/free-solid/free-brands/free-regular→^7.2.0react-fontawesome^0.2.2(非推奨)→^3.3.1(peer: svg-core ~6||~7, React 18||19。<FontAwesomeIcon icon=.. className=.. />API は不変)検証
npm install/vite build/eslint/npm audit --audit-level=high全て passfaGoogle(brands)/faCircleInfo(solid)を SSR レンダリング → 正しい<svg>(fa-google/fa-circle-info、className 保持)を確認関連クローズ
Dependabot PR #48, #52, #56, #57 を置き換え(close 予定)
🤖 Generated with Claude Code