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

Replace Yarn with pnpm for build reliability #1351

Open
samshara opened this issue Sep 9, 2024 · 1 comment
Open

Replace Yarn with pnpm for build reliability #1351

samshara opened this issue Sep 9, 2024 · 1 comment
Assignees
Labels
dependencies Pull requests that update a dependency file dependency management For issues or PRs related to managing project dependencies: updating, adding, removing. DFS DFS team works on it

Comments

@samshara
Copy link
Member

samshara commented Sep 9, 2024

Currently, the build process often fails when using Yarn due to the following error:

Error: Extracting tar content of undefined failed

This issue causes builds to be unreliable and slows down development. After researching alternative package managers, pnpm has been identified as a more reliable and efficient option for our workflow.

Proposed Solution

  1. Replace yarn with pnpm for managing dependencies and the build process.
  2. Update project documentation to reflect the new setup.
  3. Ensure CI/CD pipelines are updated to use pnpm instead of Yarn.

Benefits

  • Improved build reliability.
  • Potential for reduced build times.
@samshara samshara added dependencies Pull requests that update a dependency file DFS DFS team works on it dependency management For issues or PRs related to managing project dependencies: updating, adding, removing. labels Sep 9, 2024
@samshara samshara self-assigned this Sep 9, 2024
@samshara samshara changed the title Replace yarn with pnpm for Build Reliability Replace yarn with pnpm for Build Reliability Sep 9, 2024
@samshara samshara changed the title Replace yarn with pnpm for Build Reliability Replace yarn with pnpm for build reliability Sep 9, 2024
@samshara samshara changed the title Replace yarn with pnpm for build reliability Replace Yarn with pnpm for build reliability Sep 9, 2024
@tnagorra
Copy link
Member

We should be able to use pnpm import to import the lock file to pnpm.
Also, we can remove post-install package (it's already available on npm and pnpm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file dependency management For issues or PRs related to managing project dependencies: updating, adding, removing. DFS DFS team works on it
Projects
None yet
Development

No branches or pull requests

2 participants