Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ryota-murakami
Copy link
Contributor

Summary

  • Move app/, components/, hooks/, lib/, styles/, supabase/, and tests/ into src/ directory for better project organization following Next.js conventions
  • Update all configuration files to reflect new paths
  • Fix import paths from @/src/* to @/* pattern across 136+ source files

Changes

Configuration Updates

  • tailwind.config.js: Updated content paths
  • .storybook/main.ts: Updated stories paths
  • .storybook/preview.tsx: Fixed import paths
  • vitest.config.ts: Updated resolve aliases and test paths
  • eslint.config.mjs: Updated file patterns
  • knip.config.ts: Updated entry points
  • tsconfig.json: Added @/mocks/* alias
  • src/styles/globals.css: Fixed CSS imports
  • src/tests/setup.ts: Added localStorage mock for happy-dom compatibility

Test plan

  • pnpm typecheck - Pass
  • pnpm lint - Pass
  • pnpm build - Pass
  • pnpm test - Pass (1,265 tests)
  • pnpm e2e - 276/294 Pass (17 flaky test failures unrelated to path changes)
  • Dev environment verified (localhost:3008)
  • Storybook verified (localhost:6006)

Move app/, components/, hooks/, lib/, styles/, supabase/, and tests/ into src/
directory for better project organization following Next.js conventions.

Updated configuration files:
- tailwind.config.js: Updated content paths
- .storybook/main.ts: Updated stories paths
- .storybook/preview.tsx: Fixed import paths
- vitest.config.ts: Updated resolve aliases and test paths
- eslint.config.mjs: Updated file patterns
- knip.config.ts: Updated entry points
- tsconfig.json: Added @/mocks/* alias
- src/styles/globals.css: Fixed CSS imports
- src/tests/setup.ts: Added localStorage mock for happy-dom

All import paths updated from @/src/* to @/* pattern.
@vercel
Copy link
Contributor

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
gitbox Ready Ready Preview, Comment Jan 27, 2026 11:33pm

Request Review

@coderabbitai
Copy link

coderabbitai bot commented Jan 27, 2026

Important

Review skipped

Too many files!

This PR contains 299 files, which is 149 over the limit of 150.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

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 Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.01%. Comparing base (e43f5ef) to head (15fa180).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   75.01%   75.01%           
=======================================
  Files         119      119           
  Lines        3818     3818           
  Branches     1012      982   -30     
=======================================
  Hits         2864     2864           
  Misses        938      938           
  Partials       16       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

🧪 E2E Coverage Report (Sharded: 12 parallel jobs)

Metric Coverage
Lines 91.26%
Functions 16.74%
Branches 15.88%
Statements 28.31%

📊 Full report available in workflow artifacts

@ryota-murakami ryota-murakami merged commit 60a8c9c into main Jan 28, 2026
20 checks passed
@ryota-murakami ryota-murakami deleted the refactor/migrate-to-src-directory branch January 28, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants