8000 Support package.json in a monorepo setup with lockfile in parent directory by paldepind · Pull Request #37 · paldepind/projectdo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support package.json in a monorepo setup with lockfile in parent directory #37

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 1 commit into
base: main
Choose a base branch
from

Conversation

paldepind
Copy link
Owner
@paldepind paldepind commented May 15, 2025

This should solve #29.

The new behavior is: When a package.json file is found we look for a lockfile in the current directory (right next to the package.json file) and traverse up the directory hierarchy to see if a lockfile is found further up. Only if we can't go further up and a lockfile hasn't been found do we default to npm. This should handle standard monorepo/workspace setups (at least with yarn).

@paldepind paldepind mentioned this pull request May 15, 2025
@paldepind
Copy link
Owner Author

Does this PR fix your issue @pavlos-sqds? :)

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
37F1

Successfully merging this pull request may close these issues.

1 participant
0