From 539d94265b32e545093ab4e4033138decff2d5c0 Mon Sep 17 00:00:00 2001 From: Johannes Huster <66320475+JohannesHuster@users.noreply.github.com> Date: Sat, 6 Jul 2024 00:00:32 +0200 Subject: [PATCH] docs(opentelemetry-browser-detector): Use tree-shakeable string constants for semconv in Readme (#4768) * docs(opentelemetry-browser-detector): Use tree-shakeable string constants for semconv in Readme * Update changelog * Uninstall unused semantic-conventions package from browser-detector package * Move changelog entry to Unreleased section * rm changelog entry, I don't think it is necessary for a small docs update --------- Co-authored-by: Jamie Danielson Co-authored-by: Trent Mick --- .../packages/opentelemetry-browser-detector/package.json | 3 +-- .../packages/opentelemetry-browser-detector/tsconfig.esm.json | 3 --- .../opentelemetry-browser-detector/tsconfig.esnext.json | 3 --- .../packages/opentelemetry-browser-detector/tsconfig.json | 3 --- package-lock.json | 4 +--- 5 files changed, 2 insertions(+), 14 deletions(-) diff --git a/experimental/packages/opentelemetry-browser-detector/package.json b/experimental/packages/opentelemetry-browser-detector/package.json index dffe112dcb..23763cb80d 100644 --- a/experimental/packages/opentelemetry-browser-detector/package.json +++ b/experimental/packages/opentelemetry-browser-detector/package.json @@ -83,8 +83,7 @@ "@opentelemetry/api": "^1.0.0" }, "dependencies": { - "@opentelemetry/resources": "1.25.1", - "@opentelemetry/semantic-conventions": "1.25.1" + "@opentelemetry/resources": "1.25.1" }, "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/browser-detector" } diff --git a/experimental/packages/opentelemetry-browser-detector/tsconfig.esm.json b/experimental/packages/opentelemetry-browser-detector/tsconfig.esm.json index 28f1109019..bd40c9fb1f 100644 --- a/experimental/packages/opentelemetry-browser-detector/tsconfig.esm.json +++ b/experimental/packages/opentelemetry-browser-detector/tsconfig.esm.json @@ -14,9 +14,6 @@ }, { "path": "../../../packages/opentelemetry-resources" - }, - { - "path": "../../../packages/opentelemetry-semantic-conventions" } ] } diff --git a/experimental/packages/opentelemetry-browser-detector/tsconfig.esnext.json b/experimental/packages/opentelemetry-browser-detector/tsconfig.esnext.json index ae74c831fe..3d1c53262e 100644 --- a/experimental/packages/opentelemetry-browser-detector/tsconfig.esnext.json +++ b/experimental/packages/opentelemetry-browser-detector/tsconfig.esnext.json @@ -14,9 +14,6 @@ }, { "path": "../../../packages/opentelemetry-resources" - }, - { - "path": "../../../packages/opentelemetry-semantic-conventions" } ] } diff --git a/experimental/packages/opentelemetry-browser-detector/tsconfig.json b/experimental/packages/opentelemetry-browser-detector/tsconfig.json index 3dbac05642..d5a0844c24 100644 --- a/experimental/packages/opentelemetry-browser-detector/tsconfig.json +++ b/experimental/packages/opentelemetry-browser-detector/tsconfig.json @@ -15,9 +15,6 @@ }, { "path": "../../../packages/opentelemetry-resources" - }, - { - "path": "../../../packages/opentelemetry-semantic-conventions" } ] } diff --git a/package-lock.json b/package-lock.json index 353e1a7e99..c622aa15f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1636,8 +1636,7 @@ "version": "0.52.1", "license": "Apache-2.0", "dependencies": { - "@opentelemetry/resources": "1.25.1", - "@opentelemetry/semantic-conventions": "1.25.1" + "@opentelemetry/resources": "1.25.1" }, "devDependencies": { "@babel/core": "7.24.7", @@ -39025,7 +39024,6 @@ "@babel/preset-env": "7.24.7", "@opentelemetry/api": "1.9.0", "@opentelemetry/resources": "1.25.1", - "@opentelemetry/semantic-conventions": "1.25.1", "@types/mocha": "10.0.7", "@types/node": "18.6.5", "@types/sinon": "17.0.3",