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
update lerna, to fix issue with cyclic dependencies #11581
Conversation
because of bug in lerna some dependencies might be installed from npm instead of linking to package in monorepo fix: lerna/lerna#2380
affected packages:
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cf048bd:
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/22284/ |
I have to test that this doesn't break our publishing process (I don't fully trust it 😂) |
This PR doesn't include the bugfix, because we are relying on https://github.com/babel/lerna/tree/readme. I'm updating it. |
Actually, we completely overwrite (and mostly delete) the code containing the bugfix, so I don't understand how this PR could affect us 🤔 |
double-checked it… it is indeed exactly the same… but still there are some dependencies that are installed instead of being linked, so I am not really sure why this does not affect I definitely had issues earlier because of using babel types from here is list of dependencies that might be not linked correctly(some indeed should be installed from npm):
|
I'm working on using Yarn 2 in the next-8-dev branch, so when it's merged we could check it using Yarn instead of Lerna solves the problem. |
yarn 2 is already here, and I do not see the original issue anymore, and so - this is no longer relevant |
Because of a bug in Lerna some cyclic dependencies are installed from npm instead of linking to package in monorepo.
The bug was fixed here: lerna/lerna#2380
This is needed in the context of migration to typescript #11578 (which would not be blocked because of the bug).