add-nx
add-nx copied to clipboard
Migration of yarn workspace - no cache config for targets in package.json
Hi,
I've got a yarn workspace that I've migrated and it appears to work fine until we get to the stage of things getting cached.
As far as I can find from a blog article introducing Nx caching, it appears that dist is the default folder, but there is no documentation on:
- how Nx knows to refer to package.json rather than command targets in nx.json and workspace.json or a combination of them
- what plugin is responsible for delegating to package.json and how to override paths
- why things are built in the wrong order using both --all and --with-deps