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: upgrade Yarn to the latest version #4413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonkoops
Copy link
Contributor

@jonkoops jonkoops commented Dec 11, 2024

Upgrades Yarn to a version that is not end-of-life. This PR is a reworked version of #4387, which ran into issues after merging. This turned out to be because of a bad rebase, which caused the versions of @patternfly/documentation-framework to be out of sync (a common issue that happens on main as well).

This version improves over the original PR as the @patternfly/documentation-framework package is now using the workspace protocol, meaning it will never be out of sync again, as it is directly linked to the version present in the workspace. This also mitigates the need to manually bump this version when it is changed.

Note the CI will likely fail for the reasons outlined under #4387 (comment) due to Corepack not being present on main. I will see if I can split this into two separate PRs to increase the confidence in the merge.

@jonkoops jonkoops marked this pull request as draft December 11, 2024 16:30
@jonkoops

This comment was marked as outdated.

@patternfly-build
Copy link
Contributor

@jonkoops
Copy link
Contributor Author

I've rebased the PR on top of main after merging in #4414, this should be good to go now. I assume the Snyk failure is due to the changes made by Yarn, likely some dependency is now being picked up properly, but I cannot see the report to validate this.

Either way, nothing has changed in terms of dependency versions, so this should not really be a reason to hold this up, marking this as ready to review.

@jonkoops jonkoops marked this pull request as ready for review December 28, 2024 12:07
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.

3 participants