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

Tooling modernization #735

Open
vecerek opened this issue Jun 1, 2024 · 0 comments
Open

Tooling modernization #735

vecerek opened this issue Jun 1, 2024 · 0 comments

Comments

@vecerek
Copy link
Contributor

vecerek commented Jun 1, 2024

Is your feature request related to a problem? Please describe.

I'm currently struggling to add a new codegen plugin in #701. The issue is caused by an inexplicable yarn dependency resolution issue that happens only when I add this new package. The current version of yarn in this project is pretty old (1.22.22). I think I would have a much easier time troubleshooting the issue if the codebase used the latest version of Yarn. The issue would probably not exist at all, if the codebase were to use Yarn PnP which ensures correct dependency hoisting across all workspaces. But to get there, there's a lot to be fixed. I noticed that many of the current packages do not declare all of their dev dependencies in their package.json file. Also, when I run yarn install, I see tons of warnings about unmet peer dependencies. The side effect of migrating to PnP would be that all these issues would also get fixed.

Describe the solution you'd like

I would like to explore the possibility of incremental migration towards the latest version of Yarn and eventually PnP. I already opened a few PRs as a PoC:

Describe alternatives you've considered

Additional context

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

No branches or pull requests

1 participant