Skip to content

refactor: organize client and server source layers - #5

Merged
yuxino merged 3 commits into
mainfrom
refactor/source-layering
Sep 3, 2026
Merged

refactor: organize client and server source layers#5
yuxino merged 3 commits into
mainfrom
refactor/source-layering

Conversation

@yuxino

@yuxino yuxino commented Sep 3, 2026

Copy link
Copy Markdown
Owner

What changed

  • Organize the client into features/analyzer, features/admin, shared, and styles
  • Organize the server into http, auth, application, analysis, media, persistence, config, and shared
  • Keep src/client/main.tsx, src/server/index.ts, and src/server/cli.ts as composition entrypoints
  • Add docs/ARCHITECTURE.md to document layer responsibilities
  • Add npm run check:structure so implementation files do not drift back into flat source roots

Scope

This is a behavior-neutral structural refactor. Existing modules were moved and their relative imports updated; public APIs and runtime logic were not changed.

Verification

  • npm run check
  • git diff --check

Both completed successfully before opening this PR.

@yuxino
yuxino merged commit fc50ef0 into main Sep 3, 2026
2 checks passed
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.

1 participant