Skip to content
vxvx
GitHubBlueskydev.toRSS

Source-only packages still count

A package with no build step still moves its dependants’ cache keys when its files change.

A source-only package moving its dependant’s key.

Many packages ship their TypeScript as is and have no build. If they had no task at all, a change in them could not reach the cache keys of the apps that import them.

So vx gives such a project a build group keyed on its own files. Your config stays short, and a change to a source-only package still invalidates exactly what depends on it.

// what it prints

packages/ui     no build task  →  build: a group keyed on its files
packages/web    build: dependsOn ^build

edit packages/ui/src/button.ts  →  @demo/web#build misses
Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.