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

[workspace] Review hoisting dependencies in yarn/lerna workspace #126

Open
nebula-aac opened this issue Oct 6, 2023 · 0 comments
Open
Assignees
Labels
kind/bug Something isn't working priority/high High priority issue

Comments

@nebula-aac
Copy link
Contributor

nebula-aac commented Oct 6, 2023

UPDATE

The current setup is Yarn 3.6.3 which does not use the PnP, which means, we're still using node_modules. After several tries, there seems to be issues with multiple same packages in the same monorepo, and yarn doesn't seem to be respecting this behavior.

The alternative is create the isolated apps and treat them as such, and don't let them build with the monorepo.

Updating this issue to keep track.

Issue:

Before I made the changes, I was able to add the internal packages as a dependencies, but I ran into an issue when I packaged and published a package with workspace in the version.

The packages are now pinned to the latest version but it does not help in this development, because it is easier test via hoisting, rather than pinning a version and publishing a version to test the changes.

Opening a ticket to track this behavior.


Contributor Guides and Resources

@nebula-aac nebula-aac added the kind/bug Something isn't working label Oct 6, 2023
@nebula-aac nebula-aac self-assigned this Oct 6, 2023
@nebula-aac nebula-aac added the priority/high High priority issue label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working priority/high High priority issue
Development

No branches or pull requests

1 participant