Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

node: add OpenTelemetry/OpenCensus deps to peerDependencies - #26

Merged
odeke-em merged 1 commit into
google:masterfrom
aabmass:node-peer-deps
Nov 11, 2020
Merged

odeke-em merged 1 commit into
google:masterfrom
aabmass:node-peer-deps

Conversation

@aabmass

@aabmass aabmass commented Nov 11, 2020

Copy link
Copy Markdown
Member

@opencensus/nodejs, @opencensus/propagation-tracecontext, and @opentelemetry/core are actually required at runtime, regardless of whether or not tracestate/traceparent labels are requested. See #23

Adding to peerDependencies so that package using these sqlcommenter libraries would need to install these dependencies and then both packages would share that same version. I think in the long run, these dependencies should be optional and only require()d in the code paths that use these features.

@aabmass
aabmass marked this pull request as ready for review November 11, 2020 17:09

@odeke-em odeke-em left a comment

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.

Thanks @aabmass, LGTM!

@aabmass

aabmass commented Nov 11, 2020

Copy link
Copy Markdown
Member Author

Np! Btw, I can't merge these, is someone else supposed to?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants