Skip to content

chore: remove unused deps (@clack/core, rimraf, @types/*) - #1065

Merged
Lms24 merged 5 commits into
getsentry:masterfrom
outslept:chore/dependency-cleanup
Aug 12, 2025
Merged

Lms24 merged 5 commits into
getsentry:masterfrom
outslept:chore/dependency-cleanup

Conversation

@outslept

@outslept outslept commented Aug 12, 2025 •

Copy link
Copy Markdown
Contributor

part of e18e effort to clean up your dep tree

Removed unused dependencies:

  • rimraf + @types/rimraf(*) - scripts use native rm -rf instead and there's no programmatic usage across the repo now and also those versions are really old.
  • @types/chai - vitest includes chai types under the hood, I haven't found direct usage in codebase
  • @types/lodash - seems to be a leftover after some migration in the past
  • @clack/core - you use @clack/prompts inside you codebase

* I was skeptical about it, as rimraf exists in your codebase since ~v2.3 of sentry-wizard, but appears to be a "quality-of-life package" now. If you need it for some reason it would be better to either update it to a supported version and remove stub types or move to alternative like premove.

(Edit @Lms24, just to let our CI through since the changelog entry doesn't conform with its check:)

#skip-changelog

@codecov

codecov Bot commented Aug 12, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.78%. Comparing base (c890e40) to head (80c8099).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1065   +/-   ##
=======================================
  Coverage   28.78%   28.78%           
=======================================
  Files         128      128           
  Lines       14634    14634           
  Branches      950      950           
=======================================
  Hits         4212     4212           
  Misses      10405    10405           
  Partials       17       17           
Flag Coverage Δ
unit-tests 28.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @outslept thanks for opening this PR! Removing dependencies is music to my ears :D

If CI is happy with it as well, I'll merge this today.
Heads-up: I'm just gonna add a commit to this branch to leave a note in the changelog and mention you as a contributor.

@Lms24
Lms24 force-pushed the chore/dependency-cleanup branch from 62b1bb9 to 80c8099 Compare August 12, 2025 08:51
@Lms24
Lms24 enabled auto-merge (squash) August 12, 2025 08:52
@Lms24
Lms24 merged commit e872f70 into getsentry:master Aug 12, 2025
@outslept
outslept deleted the chore/dependency-cleanup branch August 12, 2025 10:26
codyde added a commit that referenced this pull request Aug 13, 2025
…ntry-wizard into feat-mcp-server-add

* 'feat-mcp-server-add' of https://github.com/getsentry/sentry-wizard:
  release: 6.2.0
  fix(remix): Wrap app with `withSentry` independently from `hasSentryContent` (#1061)
  chore: remove unused deps (tsx, dotenv, @sentry-internal/sdk) (#1068)
  feat(electron): Show `sendDefaultPii: true` inside `Sentry.init` example (#1062)
  chore(ci): Add concurrency config to prevent duplicate (outdated) runs (#1067)
  feat(cocoa): Add structured logs opt-in option (#1051)
  chore: remove unused deps (@clack/core, rimraf, @types/*) (#1065)
  fix(react-native): Add support for metro.config.cjs files (#1064)
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.

2 participants