Sergey Krylov 2619a27b80
Some checks failed
CI / ci (pull_request) Failing after 2m38s
CI / ci (push) Failing after 2m56s
docs: mark portfolio FSD migration tasks complete
2026-06-20 21:11:54 +03:00

1.3 KiB

Frontend FSD — Portfolio Pages Tasks

Статус: выполнено

1. Create widget directory structure and barrel files

  • Create 6 widget barrels in widgets/
  • Copy components to widgets/*/ui/ with updated imports
  • npm run build -w apps/frontend — PASS
  • npm test -w apps/frontend — PASS
  • Commit 2ab4334

2. Update pages to use widgets

  • Update PortfoliosListPage.tsx imports
  • Update PortfolioDetailPage.tsx imports
  • npm run build -w apps/frontend — PASS
  • npm test -w apps/frontend — PASS
  • Commit 0b3c9a9

3. Remove flat components/portfolios/

  • Delete components/portfolios/*.tsx
  • No remaining imports from components/portfolios
  • npm run build -w apps/frontend — PASS
  • npm test -w apps/frontend — PASS
  • npm run lint -w apps/frontend — PASS
  • Commit 4d6e662

4. Update documentation

  • Update apps/docs/docs/frontend/overview.md
  • npm run build -w apps/docs — PASS
  • Отдельный коммит 697c4d7

5. Final verification

  • npm test -w apps/frontend — PASS (198 tests)
  • npm run lint -w apps/frontend — PASS
  • npm run build -w apps/frontend — PASS
  • rg "components/portfolios" — no matches
  • npm run build -w apps/docs — PASS