Skip to content

Conversation

davidturissini
Copy link
Contributor

I think remove-unused found more unused files, this time in replay-internal and vercel-edge. lint and test commands run fine. All build tasks seem to be working although I cannot get @sentry/profiling-node to ever build locally due to some fun gyp stuff

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

@davidturissini davidturissini requested a review from a team as a code owner January 23, 2025 00:34
@@ -1,8 +0,0 @@
import type { BaseTransportOptions } from '@sentry/core';

export interface VercelEdgeTransportOptions extends BaseTransportOptions {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is defined and referenced from https://github.com/getsentry/sentry-javascript/blob/develop/packages/vercel-edge/src/transports/types.ts#L3 instead of this file. Probably was refactored at some point and missed during cleanup

@@ -1 +0,0 @@
export * from './createSession';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

createSession is just imported directly so this just removes in barrel/index file

@Lms24 Lms24 changed the title Cleanup: Removing unused files ref(repo): Removing unused files Jan 23, 2025
@Lms24 Lms24 changed the title ref(repo): Removing unused files chore(repo): Removing unused files Jan 23, 2025
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks for contributing @davidturissini!

@Lms24 Lms24 merged commit 5bc0894 into getsentry:develop Jan 23, 2025
107 checks passed
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