Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: remove unused code and dependencies #7007

Merged
merged 3 commits into from
Jan 21, 2025
Merged

fix: remove unused code and dependencies #7007

merged 3 commits into from
Jan 21, 2025

Conversation

serhalp
Copy link
Contributor

@serhalp serhalp commented Jan 21, 2025

Summary

fix: remove unused code and dependencies

All found with Knip 👀 https://knip.dev/

chore: remove heavyweight test:affected

This is built into vitest now: https://vitest.dev/guide/cli#changed. It is definitely not worth several hundred lines of untyped code and four additional dev dependencies.

Copy link

github-actions bot commented Jan 21, 2025

📊 Benchmark results

Comparing with badfe15

  • Dependency count: 1,179 ⬇️ 1.87% decrease vs. badfe15
  • Package size: 315 MB ⬇️ 0.38% decrease vs. badfe15
  • Number of ts-expect-error directives: 805 ⬇️ 3.11% decrease vs. badfe15

@serhalp serhalp force-pushed the fix/remove-dead-code branch 2 times, most recently from 47357da to 077013c Compare January 21, 2025 15:35
@serhalp serhalp force-pushed the fix/remove-dead-code branch from 077013c to 2ebd1ac Compare January 21, 2025 15:51
@serhalp serhalp marked this pull request as ready for review January 21, 2025 16:10
@serhalp serhalp requested a review from a team as a code owner January 21, 2025 16:10
@serhalp serhalp enabled auto-merge (squash) January 21, 2025 17:29
@serhalp serhalp merged commit 3a46e8f into main Jan 21, 2025
49 checks passed
@serhalp serhalp deleted the fix/remove-dead-code branch January 21, 2025 18:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants