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

Merged
merged 1 commit into from
Jan 7, 2025

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
Copy link
Collaborator

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I compared the snyk report to the current state of snyk in the main branch. It has not changed. We still need to resolve the vulnerabilities, but this PR is not having any overall affect on that. I resolved the snyk report in this PR so it's not a blocker

@nicolethoen nicolethoen merged commit 1900ec9 into patternfly:main Jan 7, 2025
4 checks passed
@jonkoops
Copy link
Contributor Author

jonkoops commented Jan 7, 2025

Nice, thanks for the merge Nicole! 🎉

@jonkoops jonkoops deleted the upgrade-yarn branch January 7, 2025 20:47
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.

4 participants