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 slow Yarn v1 workspace functionality with newer package manager #534

Open
JohnAlbin opened this issue Oct 4, 2023 · 0 comments
Open
Assignees
Labels
tooling tooling changes (CI, tests, etc.); no code changes

Comments

@JohnAlbin
Copy link
Collaborator

JohnAlbin commented Oct 4, 2023

According to CONTRIBUTING.md:

We use [Yarn](https://yarnpkg.com) and `yarn workspaces` for development.

When Yarn v1 came out in 2016, it was much faster than npm. But npm, pnpm and Yarn v2 have very similar performance nowadays. See https://yarnpkg.com/benchmarks

yarn-v1-perf

However, Yarn v1 is MUCH slower than npm >=5, yarn >=2, etc for cold installs (though it still comparable for other operation types.)

Also, the workspace functionality is more feature-rich in newer package managers compared to yarn v1.

We should investigate which package manager we should migrate to. At one time I did use yarn v1, but I abandoned it when npm performance issues were fixed. I also don't have a strong opinion on the matter.

All the package managers have workspace features: pnpm, npm, yarn

@JohnAlbin JohnAlbin added the dependencies Pull requests that update a dependency file label Oct 5, 2023
@JohnAlbin JohnAlbin self-assigned this Oct 5, 2023
@JohnAlbin JohnAlbin added tooling tooling changes (CI, tests, etc.); no code changes and removed dependencies Pull requests that update a dependency file labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling tooling changes (CI, tests, etc.); no code changes
Projects
None yet
Development

No branches or pull requests

1 participant