-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ref(tracing): Re-organize exports for node/browser #7345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c395e4c
ref(tracing): Re-organize exports for node/browser
AbhiPrasad 920594e
fix tests
AbhiPrasad 819ceb6
remove eslint ignore comments
AbhiPrasad 837a01a
change to v8
AbhiPrasad e2ec12b
add entrypoints
AbhiPrasad e43c7e5
add `typesVersions` to make package.json work
AbhiPrasad 026264f
Merge branch 'develop' into abhi-tracing-exports
AbhiPrasad b155bee
remove build from package.json
AbhiPrasad ae0701e
fix tarball generation
AbhiPrasad c02f2b8
Revert "fix tarball generation"
AbhiPrasad f9ff633
Revert "remove build from package.json"
AbhiPrasad 5c052f8
update prepack
AbhiPrasad 99c869c
make sure to affect typesVersions
AbhiPrasad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export { | ||
extractTraceparentData, | ||
getActiveTransaction, | ||
hasTracingEnabled, | ||
IdleTransaction, | ||
Span, | ||
// eslint-disable-next-line deprecation/deprecation | ||
SpanStatus, | ||
spanStatusfromHttpCode, | ||
startIdleTransaction, | ||
stripUrlQueryAndFragment, | ||
TRACEPARENT_REGEXP, | ||
Transaction, | ||
} from '@sentry/core'; | ||
export type { SpanStatusType } from '@sentry/core'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export * from '../exports'; | ||
|
||
export { Express } from './integrations/express'; | ||
export { Postgres } from './integrations/postgres'; | ||
export { Mysql } from './integrations/mysql'; | ||
export { Mongo } from './integrations/mongo'; | ||
export { Prisma } from './integrations/prisma'; | ||
export { GraphQL } from './integrations/graphql'; | ||
export { Apollo } from './integrations/apollo'; | ||
|
||
// TODO(v7): Remove this export | ||
// Please see `src/index.ts` for more details. | ||
export { BrowserTracing } from '../browser'; |
2 changes: 2 additions & 0 deletions
2
...s/tracing/src/integrations/node/apollo.ts → ...s/tracing/src/node/integrations/apollo.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...src/integrations/node/utils/node-utils.ts → ...src/node/integrations/utils/node-utils.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable @sentry-internal/sdk/no-optional-chaining */ | ||
import type { Hub } from '@sentry/types'; | ||
|
||
/** | ||
|
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.
Uh oh!
There was an error while loading. Please reload this page.