Repository navigation
リポジトリ整備: 未使用依存の削除・CI追加・OGP修正・ドキュメント更新 - #53
Merged
Merged
Conversation
- framer-motion / intl-messageformat / autoprefixer と未使用のHeroUIパッケージ (card/chip/input/navbar/skeleton) を削除 - target を es5 から ES2017 に更新 (TypeScript 7 での非推奨エラーを解消) - typecheck スクリプト (tsc --noEmit) を追加 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
- .idea をgit管理から外し .gitignore に .idea/ と .vscode/ を追加 - Biomeへ統一済みのため prettier/standardjs を指す .deepsource.toml を削除 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
- README にセットアップ手順とコマンド一覧を追加 - CLAUDE.md: typecheck コマンドを追記、削除した framer-motion の注意書きを除去 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
テンプレート (Next UI) 由来のコードが残っている可能性があるため、 MITの条件に従い元の著作権表記も併記している。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
コードから直接importしていないが、HeroUIのpeer依存でMobileMenuの motionProps経由で使われているため削除は誤りだった。CLAUDE.mdの 注意書きも復元し、削除してはいけない理由を追記した。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
Next.jsはopenGraph/twitterをレイアウトとページでマージせず置き換えるため、 buildPageMetadataが返すメタデータでog:image・og:site_name・og:typeと Twitterの大きい画像カードが失われていた。共通部分をまとめ、両方で使う。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWUFfZADjGD1vLMxAqGdyU
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
バグ修正: 下層ページで OGP 画像・Twitter カードが消える
/projectsなどの下層ページでog:image・og:site_name・og:typeと Twitter のsummary_large_imageカードが出力されていなかったopenGraph/twitterをレイアウトとページの間でマージせず丸ごと置き換える。buildPageMetadataが title などだけを返していたため、ルートレイアウトの画像設定が消えていたlibs/i18n/metadata.tsで共通部分(画像・サイト名・type・カード種別)をまとめ、buildRootMetadataとbuildPageMetadataの両方で使うようにした依存・設定
intl-messageformat,autoprefixer,@heroui/{card,chip,input,navbar,skeleton}framer-motionとtailwind-variantsはコードから直接 import されていないが、HeroUI の peer 依存なので残した(framer-motion はMobileMenuのmotionProps経由で使われている)tsconfig.jsonのtargetをes5→ES2017(TypeScript 6 で非推奨、7 で廃止予定)typecheckスクリプト(tsc --noEmit)を追加リポジトリ衛生
.idea/を git 管理