GeezerVison is showing github.com — chore: Remove unneeded deps from main package.json by AbhiPrasad · Pull Request #12644 · getsentry/sentry-javascript
Conversation
AbhiPrasad
commented
Jun 25, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
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
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% 🔽) |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
AbhiPrasad
changed the title
chore: Remove uneeded deps from main package.json
chore: Remove unneeded deps from main package.json
Jun 26, 2024
|
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 😢
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 26, 2024
AbhiPrasad
added a commit
that referenced
this pull request
Jun 28, 2024
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
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.
Reviewers
mydea
mydea approved these changes
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.
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.
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.
|