Skip to content

Remove 4 unused dependencies#721

Merged
selfcontained merged 1 commit into
mainfrom
agt_e2cc4501f9aa/job-debt-collector-b94d8a0a
Jul 3, 2026
Merged

Remove 4 unused dependencies#721
selfcontained merged 1 commit into
mainfrom
agt_e2cc4501f9aa/job-debt-collector-b94d8a0a

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Removed @fastify/static from server — static routes use custom Fastify handlers, not this plugin
  • Removed date-fns from web — transitive dependency of react-day-picker, not directly imported
  • Removed diff-match-patch + @types/diff-match-patch from web — transitive dependency of react-diff-view, not directly imported
  • Removed unidiff from web — not imported anywhere in the codebase

Why this is tech debt

These packages inflate pnpm install time and lockfile size without being used. Three of them (date-fns, diff-match-patch, unidiff) were likely left behind when their direct usages were removed in prior refactors. @fastify/static was never used — the server implements its own static file serving via custom route handlers.

Queued for next run

Re-audit found several new items for the backlog: large function extraction candidates (createMcpHandlers at 927 lines, createReleaseRuntime at 737 lines), console.log usage in production server code that should use the logger, and minor unsafe type casts.

🤖 Generated with Claude Code

- @fastify/static (server): static routes use custom handlers, not this plugin
- date-fns (web): transitive dep of react-day-picker, not directly imported
- diff-match-patch + @types/diff-match-patch (web): transitive dep of react-diff-view, not directly imported
- unidiff (web): not imported anywhere

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@selfcontained
selfcontained merged commit dbefb6e into main Jul 3, 2026
1 check passed
@selfcontained
selfcontained deleted the agt_e2cc4501f9aa/job-debt-collector-b94d8a0a branch July 3, 2026 09:12
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