GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Remove unneeded deps from main package.json by AbhiPrasad · Pull Request #12644 · getsentry/sentry-javascript

Conversation

@AbhiPrasad

@AbhiPrasad AbhiPrasad commented Jun 25, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

While working on my OTEL bump PR (#12635), I noticed some deps we no longer need.

  • @codecov/rollup-plugin can be removed because we dont use codecov bundle analysis atm
  • es-check can be removed because we don't check for es5 bundles anymore
  • replace-in-file can be removed for a simpler script with modern node apis
  • inquirer can be removed in favour of simpler parseArgs call with Node

~4700 lines from yarn.lock is gone!

Also bumped size-limit deps

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@AbhiPrasad
AbhiPrasad requested a review from a team June 25, 2024 18:12
@AbhiPrasad AbhiPrasad self-assigned this Jun 25, 2024
@AbhiPrasad
AbhiPrasad requested review from Lms24 and mydea and removed request for a team June 25, 2024 18:12
mydea
mydea approved these changes Jun 26, 2024
View reviewed changes
AbhiPrasad added 2 commits June 26, 2024 11:05
@AbhiPrasad
chore: Remove uneeded deps from main package.json
749a829
While working on my OTEL bump PR, I noticed some deps we no longer need.

- @codecov/rollup-plugin can be removed because we dont use codecov
  bundle analysis atm
- es-check can be removed because we don't check for es5 bundles anymore
- replace-in-file can be removed for a simpler script with modern node
  apis

Also bumped size-limit deps
@AbhiPrasad
more dep cleanup
a21bf7d
@AbhiPrasad
AbhiPrasad force-pushed the abhi-clean-up-deps branch from c79c696 to a21bf7d Compare June 26, 2024 16:10
@github-actions

github-actions Bot commented Jun 26, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
@sentry/browser 22.21 KB (-0.07% 🔽)
@sentry/browser (incl. Tracing) 33.3 KB (-0.03% 🔽)
@sentry/browser (incl. Tracing, Replay) 69.04 KB (-0.08% 🔽)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.41 KB (-0.02% 🔽)
@sentry/browser (incl. Tracing, Replay with Canvas) 73.07 KB (-0.1% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) 85.7 KB (-0.06% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.56 KB (-0.06% 🔽)
@sentry/browser (incl. metrics) 26.5 KB (-0.03% 🔽)
@sentry/browser (incl. Feedback) 38.85 KB (-0.03% 🔽)
@sentry/browser (incl. sendFeedback) 26.83 KB (-0.06% 🔽)
@sentry/browser (incl. FeedbackAsync) 31.44 KB (-0.05% 🔽)
@sentry/react 24.95 KB (-0.07% 🔽)
@sentry/react (incl. Tracing) 36.34 KB (-0.06% 🔽)
@sentry/vue 26.32 KB (-0.03% 🔽)
@sentry/vue (incl. Tracing) 35.16 KB (-0.02% 🔽)
@sentry/svelte 22.34 KB (-0.07% 🔽)
CDN Bundle 23.41 KB (-0.08% 🔽)
CDN Bundle (incl. Tracing) 35.04 KB (-0.05% 🔽)
CDN Bundle (incl. Tracing, Replay) 69.12 KB (-0.09% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) 74.33 KB (-0.08% 🔽)
CDN Bundle - uncompressed 68.73 KB (-0.1% 🔽)
CDN Bundle (incl. Tracing) - uncompressed 103.59 KB (-0.07% 🔽)
CDN Bundle (incl. Tracing, Replay) - uncompressed 213.96 KB (-0.08% 🔽)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.67 KB (-0.08% 🔽)
@sentry/nextjs (client) 36.23 KB (-0.01% 🔽)
@sentry/sveltekit (client) 33.95 KB (-0.02% 🔽)
@sentry/node 111.04 KB (-16.16% 🔽)
@sentry/node - without tracing 88.43 KB (-3.75% 🔽)
@sentry/aws-serverless 97.57 KB (-17.63% 🔽)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AbhiPrasad AbhiPrasad changed the title chore: Remove uneeded deps from main package.json chore: Remove unneeded deps from main package.json Jun 26, 2024
AbhiPrasad added 4 commits June 26, 2024 12:21
@AbhiPrasad
lint
3a9d2e4
@AbhiPrasad
adjust types
7f97f5a
@AbhiPrasad
yarn fix
a79cbc6
@AbhiPrasad
woops path
b59aa61
@AbhiPrasad

AbhiPrasad commented Jun 26, 2024

Copy link
Copy Markdown
Contributor Author

Removing multiple dependencies in a row is chaos - now the ts3.8 tests fail :(

I might have to remove each dep individually in a PR 😢

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AbhiPrasad AbhiPrasad closed this Jun 26, 2024
@AbhiPrasad
AbhiPrasad deleted the abhi-clean-up-deps branch June 26, 2024 19:07
This was referenced Jun 26, 2024
chore: Remove @codecov/rollup-plugin #12665
Merged
chore: Remove es-check from deps #12686
Merged
chore: Remove replace-in-file and inquirer #12687
Merged
AbhiPrasad added a commit that referenced this pull request Jun 28, 2024
@AbhiPrasad
chore: Remove es-check from deps (#12686)
c7b8503
ref: #12644

We don't use `es-check` anymore, we can remove it. It was previously
used to validate our es5 builds, but we don't target that anymore.

Extracted from the previous PR because 1 big change was breaking CI and
I couldn't figure out the root cause.
AbhiPrasad added a commit that referenced this pull request Jun 28, 2024
@AbhiPrasad
chore: Remove replace-in-file and inquirer (#12687)
24dfc66
ref: #12644

We can remove `replace-in-file` with some built-in functions and clean
up our lockfile even more.

Extracted from the previous PR because 1 big change was breaking CI and
I couldn't figure out the root cause.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mydea mydea mydea approved these changes
@Lms24 Lms24 Awaiting requested review from Lms24 Lms24 was automatically assigned from getsentry/team-javascript-sdks

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@AbhiPrasad AbhiPrasad

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@AbhiPrasad @mydea
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.