Skip to content

Commit

Permalink
chore: clean up some deps (#2499)
Browse files Browse the repository at this point in the history
- Use range deps for `@opentelemetry/*` deps (with some exceptions for
  /api and /semantic-conventions). This allows
  scripts/update-otel-deps.js to be able to do its thing.
- "propagators/propagator-aws-xray/" only needed `@opentelemetry/core`
  for tests
  • Loading branch information
trentm authored Oct 24, 2024
1 parent 97a2956 commit d3c8bd9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
14 changes: 6 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/web/opentelemetry-plugin-react-load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@babel/core": "7.24.6",
"@babel/preset-env": "7.24.6",
"@opentelemetry/api": "^1.0.0",
"@opentelemetry/propagator-b3": "1.26.0",
"@opentelemetry/propagator-b3": "^1.26.0",
"@types/mocha": "10.0.6",
"@types/node": "18.18.14",
"@types/react": "17.0.80",
Expand Down
2 changes: 1 addition & 1 deletion propagators/propagator-aws-xray-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"typescript": "4.4.4"
},
"dependencies": {
"@opentelemetry/propagator-aws-xray": "1.26.0"
"@opentelemetry/propagator-aws-xray": "^1.26.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/propagators/propagator-aws-xray-lambda#readme"
}
4 changes: 1 addition & 3 deletions propagators/propagator-aws-xray/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
},
"devDependencies": {
"@opentelemetry/api": ">=1.0.0 <1.10.0",
"@opentelemetry/core": "^1.0.0",
"@types/mocha": "10.0.6",
"@types/node": "18.6.5",
"@types/sinon": "10.0.20",
Expand All @@ -78,8 +79,5 @@
"webpack-cli": "5.1.4",
"webpack-merge": "5.10.0"
},
"dependencies": {
"@opentelemetry/core": "1.26.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/propagators/propagator-aws-xray#readme"
}

0 comments on commit d3c8bd9

Please sign in to comment.