Skip to content

feat: Remove yarn in favor pnpm #4504

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dlabaj
Copy link
Contributor

@dlabaj dlabaj commented Mar 18, 2025

This is PR is removing legacy yarn in favor of PNPM. This change will improve the speed along with manageability, readability of patternfly-org. It is still a WIP and should get some input before we move forward with committing this to main.

jonkoops and others added 2 commits March 19, 2025 11:32
Signed-off-by: Jon Koops <jonkoops@gmail.com>
@dlabaj dlabaj changed the title WIP (feat: Remove yarn in favor pnpm.) feat: Remove yarn in favor pnpm Mar 20, 2025
@dlabaj dlabaj self-assigned this Mar 20, 2025
@dlabaj
Copy link
Contributor Author

dlabaj commented Mar 20, 2025

Note: This will not build in CI pipeline due to modifications of Github actions.

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.

Let's merge this after release so that we don't break any release building/publishing and can roll back if anything unexpected happens. But it LGTM :)

Copy link
Collaborator

@wise-king-sullyman wise-king-sullyman left a comment

Choose a reason for hiding this comment

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

Attempting to start the dev server or do build locally after doing a clean reinstall of the deps using pnpm results in this error:

/Users/ausulliv/repos/patternfly-org/packages/documentation-site:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  patternfly-org@4.21.4 build: `pf-docs-framework build all`
Exit status 2
 ELIFECYCLE  Command failed with exit code 2.
 ```
 
 Is this something you see as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

4 participants