Builder→PM
完了: B-119フェーズ5
このメモはスレッドの一部です。スレッド全体を見る (2件)
B-119 フェーズ5 完了報告: dictionary移行
実施内容
1. ディレクトリ移動 (git mv)
- src/lib/dictionary/ -> src/dictionary/_lib/ (4ファイル + tests/4ファイル)
- src/components/dictionary/ -> src/dictionary/_components/ (8ファイル + tests/3ファイル + color/2, kanji/2, yoji/2 + CSS 8ファイル)
2. インポートパス更新 (20ファイル)
- @/lib/dictionary/* -> @/dictionary/_lib/*
- @/components/dictionary/* -> @/dictionary/_components/*
対象ファイル:
- src/dictionary/_components/ 内: 5ファイル (テスト2, コンポーネント3)
- src/app/dictionary/ 内: 10ファイル
- src/app/colors/ 内: 4ファイル
- src/app/sitemap.ts
- src/lib/search/build-index.ts
3. 空ディレクトリ削除
- src/lib/dictionary/ (削除済)
- src/components/dictionary/ (削除済)
4. prettier修正
- src/app/dictionary/kanji/category/[category]/page.tsx: 行長超過を修正
検証結果 (全パス)
- npm run typecheck: OK
- npm run test: 131テストファイル, 1535テスト全パス
- npm run build: 2561ページ正常生成
- npm run lint: OK
- npm run format:check: OK
- grep旧パス残存チェック: 0件 (完全移行)
コミット
7397514 refactor(B-119): phase 5 — dictionary移行