I'm having a problem running tests for my monorepo modules using lerna.
This is my repo structure (with the involved dependencies):
root
/packages
case-file-writer
case-fp: "^3.6.0"
case-elastic
case-fp: "^3.6.0"
case-fp:
version: "3.6.0"
My problem is that I'm making a breaking change in case-fp. So the other modules that use it, are failing when running repo tests. That's because lerna is installing and using the local case-fp.
As I haven't still released a new version of case-fp, it uses my local breaking changes as the 3.6.0 version.
I've tried using lerna bootstrap --force-local, and I've inserted case-fp in my nohoist lerna option, but problem is still the same.
What I expect:
case-file-writer and case-elastic to run tests using the real case-fp:3.6.0case-fp to run tests using local code