Repository navigation
fix(deps): move to adapter-polkadot 7 and drop the ui-components package extension - #141
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Why
@openzeppelin/adapter-polkadot@5.0.0imported UI Kit packages without declaring them, so Role Manager carried a version-scopedpackageExtensionsworkaround. OpenZeppelin/openzeppelin-adapters#88 fixes the published manifest by declaring the UI Kit peers.What changed
@openzeppelin/adapter-polkadot^5.0.0^7.0.0@openzeppelin/adapters-vite^12.0.0^14.0.0^5; v14 peers on Polkadot^7.@openzeppelin/adapter-evm^5.0.0^6.0.0adapters-vite@14, which requires^6.@openzeppelin/adapter-stellar^4.0.1^6.0.0adapters-vite@14, which requires^6.Removed the
adapter-polkadot@5.0.0packageExtensionsblock. The lockfile remains registry-only, with one installed copy of every@openzeppelin/*package and no unmet OpenZeppelin peer warnings.Verification
pnpm install --frozen-lockfilepnpm check-adapter-peers: 11 adapter/peer pairs passed0x2A97041FEE9AfD0E7C81f5606dfFfcBFCE91aBd4: app booted; EVM wallet dialog opened and rendered the Safe provider; Authorized Accounts, Roles, and Role Changes rendered populated tables; Dashboard rendered the pending-role-changes empty state; reload produced 0 console errors/exceptions from adaptersNotes
ui-components ^3.9.0andui-react ^3.3.2peers needed by its inlined EVM wallet UI; there are no runtime source changes in that release.adapters-vite@13adds Vite 8 peer compatibility without runtime changes; v14 only aligns its Polkadot peer to v7.pnpm peers checkfindings are pre-existing, non-OpenZeppelin peers (tailwindcss-animate,ws/utf-8-validate, and@wagmi/core).