Skip to content

Conversation

@dbasilio
Copy link
Contributor

@dbasilio dbasilio commented Nov 2, 2023

I set up a Repro Repo to demonstrate the problem https://github.com/dbasilio/opentelemetry-peer-dep-repro

auto-instrumentations-web lists instrumentation-user-interaction as a dependency. instrumentation-user-interaction lists [email protected] as a peerDependency, but auto-instrumentations-web doesn't satisfy that peerDepedency at all. It needs to be listed as a peerDependency or a dependency (or both) to satisfy the peerDependency from instrumentation-user-interaction`

Which problem is this PR solving?

Short description of the changes

@dbasilio dbasilio requested a review from a team November 2, 2023 15:54
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 2, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: dbasilio / name: Daniel Basilio (d233ed2, 635a71d)
  • ✅ login: blumamir / name: Amir Blum (565c9a7)

Copy link
Member

@blumamir blumamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense to me 👍
I wonder why the instrumentation's peer dependency in pinned and not caret 🤔, but that's a different topic

@blumamir blumamir changed the title chore: Add zone.js as a peerDep of auto-instrumentations-web fix: Add zone.js as a peerDep of auto-instrumentations-web Nov 8, 2023
@pichlermarc pichlermarc changed the title fix: Add zone.js as a peerDep of auto-instrumentations-web fix(auto-instrumentations-web)!: Add zone.js as a peerDependency Nov 9, 2023
@codecov
Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #1768 (565c9a7) into main (7f420e2) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1768      +/-   ##
==========================================
+ Coverage   91.40%   91.42%   +0.01%     
==========================================
  Files         143      143              
  Lines        7299     7299              
  Branches     1458     1458              
==========================================
+ Hits         6672     6673       +1     
+ Misses        627      626       -1     

see 1 file with indirect coverage changes

@blumamir blumamir merged commit 5564096 into open-telemetry:main Nov 9, 2023
@dyladan dyladan mentioned this pull request Nov 9, 2023
@dbasilio dbasilio deleted the add-zonejs-peer-dep branch November 9, 2023 19:52
jmcdo29 pushed a commit to jmcdo29/opentelemetry-js-contrib that referenced this pull request Nov 13, 2023
…n-telemetry#1768)

* chore: Add zone.js as a peerDep of auto-instrumentations-web

* chore: Empty commit to re-run CI

---------

Co-authored-by: Amir Blum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zone.js should be listed as a peerDependency of auto-instrumentations-web

3 participants