Skip to content

Define PNPM rule before NPM to that the latter gets a chance to yield #1428

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrian-sevastyanov
Copy link
Contributor

Description

Define PNPM rule before NPM to that the latter gets a chance to yield.
This can help avoid unnecessary NPM commands and parsing when Pnpm has already succeeded in a given directory.

@andrian-sevastyanov
Copy link
Contributor Author

andrian-sevastyanov commented May 13, 2025

TODO: would be nice to also add a test or something else that ensures at build time that similar issues cannot be introduced in the future. This could either be a test that checks for order, or code could be changed to automatically reorder rules based on yield parameters.

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.

1 participant