fix: DLT-2036 conflicting peer dependencies #526
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove conflicting peer dependencies
Obligatory GIF (super important!)
🛠️ Type Of Change
These types will increment the version number on release:
📖 Jira Ticket
https://dialpad.atlassian.net/browse/DLT-2036
📖 Description
@dialpad/dialtone@9.79.0-beta.1
, you can install that version to check that everything is working correctly.This is not a solution I specially like as we might get some errors related to versions of the removed peerDependencies, BUT as we're having multiple packages that work on either vue2 or vue3 versions it's the fastest solution I could get.
The other solution that might work could be to alias the vue2 version but we're going to need to do that everywhere through all our projects that need vue2 (this is just an idea, I'm not actually sure that works)
💡 Context
Installing the @dialpad/dialtone package with
npm
was getting an error about conflicting vue versions.This was related to our package having peer dependencies that needed
vue@2
(@tiptap/vue-2) along withvue@3
(@tiptap/vue-3).PNPM can handle this correctly as we have some configs and overrides on root's
package.json
.📝 Checklist
For all PRs: