Skip to content

feat(tracing): Move tracing code to internal package - #7451

Merged
AbhiPrasad merged 7 commits into
getsentry:developfrom
timfish:feat/move-tracing-to-internal
Mar 14, 2023
Merged

feat(tracing): Move tracing code to internal package#7451
AbhiPrasad merged 7 commits into
getsentry:developfrom
timfish:feat/move-tracing-to-internal

Conversation

@timfish

@timfishtimfish commented Mar 13, 2023

Copy link
Copy Markdown
Collaborator

Built on top of #7445 which needs to be merged first.

Ref #5815

  • Moves all the code (minus side-effects) from @sentry/tracing to tracing-internal
  • Moves tests that require private types to tracing-internal
  • Ensures BrowserTracing is exported separately from Integrations in tracing-internal for tree-shaking

I guess there could be a further PR after this to do some more cleanup, like moving the definition of Integrations from tracing-internal to @sentry/tracing.

@timfish
timfishforce-pushed the feat/move-tracing-to-internal branch from 07f2d8f to 3f527c9CompareMarch 13, 2023 22:29
@timfish
timfish marked this pull request as ready for review March 14, 2023 15:32
Comment threadpackages/tracing-internal/src/index.ts Outdated
@timfish
timfish requested a review from AbhiPrasadMarch 14, 2023 16:10
"@sentry/core": "7.43.0",
"@sentry/types": "7.43.0",
"@sentry/utils": "7.43.0",
"tslib": "^1.9.3"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Think we still need tslib here?

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

Probably not!

@AbhiPrasad
AbhiPrasad merged commit 2f886f6 into getsentry:developMar 14, 2023
@timfish
timfish deleted the feat/move-tracing-to-internal branch March 14, 2023 20:37
Sign up for freeto 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

@timfish@AbhiPrasad