add-nx icon indicating copy to clipboard operation
add-nx copied to clipboard

Migration of yarn workspace - no cache config for targets in package.json

Open nealeu opened this issue 4 years ago • 0 comments

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

nealeu avatar Feb 06 '21 22:02 nealeu