Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): polkadot-js as peer dependency #896

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

rflechtner
Copy link
Contributor

fixes KILTProtocol/ticket#3058

Set polkadot dependencies as peer dependencies on sub-packages, which should help avoid versioning chaos.
For convenience the sdk-js package still marks all polkadot-js packages as direct dependents.

Checklist:

  • I have verified that the code works
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)
    • Either PR or Ticket to update the Docs
    • Link the PR/Ticket here

@rflechtner rflechtner changed the title Rf polkadot peer dependencies chore(deps): polkadot-js as peer dependency Aug 6, 2024
@rflechtner rflechtner marked this pull request as ready for review August 6, 2024 15:45
@rflechtner
Copy link
Contributor Author

Given that there are some fixes to problematic imports in this PR, I'd cherry-pick this over into the release branch as well and re-release together with a fix for https://github.com/KILTprotocol/ticket/issues/3565 as beta.2

@rflechtner rflechtner merged commit 07abaf2 into develop Aug 7, 2024
14 of 15 checks passed
@rflechtner rflechtner deleted the rf-polkadot-peer-dependencies branch August 7, 2024 07:57
rflechtner added a commit that referenced this pull request Aug 7, 2024
* chore: make pjs peer dependency in sub-packages
* fix: messed-up imports
* chore: make some imports more direct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants