Removed shamefully-hoist and updated all packages to respect that

This commit is contained in:
giancarlo
2024-04-10 01:45:03 +08:00
parent 9e1199f3f4
commit f729bf6077
33 changed files with 1504 additions and 1470 deletions

View File

@@ -16,6 +16,9 @@
"./config/edge": "./src/config/sentry.server.edge.ts"
},
"dependencies": {
"@opentelemetry/resources": "1.23.0",
"@opentelemetry/sdk-node": "0.50.0",
"@opentelemetry/semantic-conventions": "^1.23.0",
"@sentry/nextjs": "^7.109.0",
"@sentry/opentelemetry-node": "^7.109.0"
},

View File

@@ -28,7 +28,6 @@ export async function registerSentryInstrumentation() {
resource: new Resource({
[SEMRESATTRS_SERVICE_NAME]: INSTRUMENTATION_SERVICE_NAME,
}),
// @ts-expect-error: an error in the lib
spanProcessor: new SentrySpanProcessor(),
textMapPropagator: new SentryPropagator(),
});