Monorepo: caching logic fails when using yarn workspace #232
Labels
kind: bug
Something isn't working properly
problem: needs more info
This issue needs more information in order to handle it
problem: no repro
No reproduction was provided (and have not tried to repro without one)
problem: stale
Issue has not been responded to in some time
scope: cache
Related to the cache
solution: duplicate
This issue or pull request already exists
solution: workaround available
There is a workaround available for this issue
topic: monorepo / symlinks
Related to monorepos and/or symlinks (Lerna, Yarn, PNPM, Rush, etc)
Hi,
I have a monorepo managed with lerna and yarn, I started without using yarn workspaces, everything built fine with tsdx.
When I enabled yarn workspaces, juste changing:
None of my packages build anymore and are failing with this error:
Here are my conf files:
tsconfig.json
verbosity 3
I tried with version 0.27.1 of the plugin but same error.
And I see a large proportion of cache miss during the build.
Setting
clean: true
in the plugin conf fix this issue but I run into other weird issues about types which I can describe if needed, but I guess it should work without settingclean: true
anyway.Thanks for your help!
The text was updated successfully, but these errors were encountered: