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

update peer dependencies #2448

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Conversation

jschuler
Copy link
Contributor

@jschuler jschuler commented Dec 5, 2023

In OCM codebase:

Before
➜ uhc-portal git:(pf-v5-upgrade) ✗ npx check-peer-dependencies
❌ @openshift-console/dynamic-plugin-sdk 0.0.3 is required by @openshift-assisted/ui-lib@1.0.0) (0.0.19 is installed)
❌ react-dom ^17 is required by @openshift-assisted/ui-lib@1.0.0) (18.2.0 is installed)
✅ react-redux ^8.0.5 is required by @openshift-assisted/ui-lib@1.0.0 (8.1.1 is installed)
❌ react ^17 is required by @openshift-assisted/ui-lib@1.0.0) (18.2.0 is installed)

After
➜ uhc-portal git:(pf-v5-upgrade) ✗ npx check-peer-dependencies
✅ react-dom ^17 || ^18 is required by @openshift-assisted/ui-lib@1.0.0 (18.2.0 is installed)
✅ react-redux ^8.0.5 is required by @openshift-assisted/ui-lib@1.0.0 (8.1.1 is installed)
✅ react ^17 || ^18 is required by @openshift-assisted/ui-lib@1.0.0 (18.2.0 is installed)

Also @openshift-console/dynamic-plugin-sdk uses PF4, it's better as a dependency not peer-dep, since OCM is upgrading to PF5 (this lib is not used by OCM).

@jschuler jschuler requested a review from a team as a code owner December 5, 2023 16:16
@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 5, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 7, 2023
Copy link

openshift-ci bot commented Dec 11, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ammont82, jschuler, rawagner

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ammont82
Copy link
Contributor

@jschuler we approve the PR.
Do we need to wait to merge until you do the changes for update PF 5?

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2023
Copy link

openshift-ci bot commented Dec 11, 2023

New changes are detected. LGTM label has been removed.

@ammont82 ammont82 merged commit 66b1038 into openshift-assisted:master Dec 11, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants