folke/ultra-runner

Packages Without a Build Script Shouldn't Account for Changed Dependencies

GermainBergeron opened this issue ยท 0 comments

Hello,

First of all, thanks for the awesome project! It will probably saves us hours of compilation every month ๐ŸŽ‰

I have a monorepo that includes some "helpers" packages, installed by all my other packages. Those helpers don't have any build scripts. At first when I ran ultra-runner it detected that those packages had changed even if I didn't modify anything in them so I never hit the cache.

As soon as I added this empty script in my packages, I was able to hit the cache.

"scripts": {
  "build": ""
}

Shouldn't the packages without build script be ignored by dependent packages?