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

Feat: Support monorepos #46

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Feat: Support monorepos #46

wants to merge 2 commits into from

Conversation

brojd
Copy link
Contributor

@brojd brojd commented Jan 2, 2025

Currently the bundle-size action defaults to PNPM if a package manager cannot be discovered when being run from within a monorepo. This works for an PNPM monorepo but will break for monorepos using yarn or npm. This PR addresses this issue by navigating to the root of the project before checking the lock files then switching back to the previous working directory.

@jackw jackw changed the title chore: support nonpnpm monorepos Feat: Support monorepos Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🧑‍💻 In development
Development

Successfully merging this pull request may close these issues.

1 participant