Urgent.News

What's breaking now, across thousands of outlets.

Tech

Hello, vx

vx runs and caches a task graph, correctly, and stops there. It is a task runner and a content-addressed cache for JavaScript monorepos, built on Bun, with nothing hidden behind a paid cloud. One run, then the same run again Eight tasks across four packages, run cold, then run again with nothing changed: $ vx run build test --all --force result 8 tasks · 0 cached ( 0% ) · 879ms $ vx run build…

vx is an MIT-licensed task runner and build cache designed for JavaScript monorepos. It runs and caches a task graph, accurately identifying cached tasks and storing them on the local machine. Unlike other task runners, vx does not rely on plugins or cloud services; instead, it operates entirely on the local machine, providing a fast and efficient build process.

The core components of vx include the task graph, the keys for caching, the scheduler that determines the order of tasks, and the local cache that stores the outputs of successful builds. These elements work together to optimize the build process by minimizing the time spent on tool execution and maximizing the utilization of cached outputs.

vx provides a straightforward workflow for users. It can be integrated into a new repository or added to an existing one, one package at a time. The quickstart guide allows users to get started with vx in a matter of minutes. The documentation emphasizes that vx is a self-contained solution, with no hidden dependencies or external services. It refuses to offer additional features like dashboards, daemons, or cloud-based offerings, focusing solely on providing a reliable and locally-run build cache.

For developers interested in performance improvements, vx offers detailed benchmarks comparing its speed to other popular task runners such as Turborepo and Nx. These benchmarks demonstrate the significant time savings that can be achieved when using vx's cache system. The benchmarks are conducted on the same task graph across four different packages, showcasing vx's ability to cache and reuse outputs effectively.

vx is built on Bun, a modern JavaScript runtime, and is entirely open-source. The source code is available on GitHub, and contributions from the community are welcome. The project encourages developers to explore its features and see how vx can streamline their JavaScript monorepo workflows.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Our title budget is 60 characters, the layout quietly spends ten of them, and a test reads our own source files to prove it

Notifio sells a desktop app that watches rental search pages, and the website around it is about forty pages: a hub and a page per site it can monitor, a page per competitor, a few guides, and the…

  • Notifio app monitors rental search pages across multiple websites
  • Title default results in 59 character title exceeding 60 character budget
  • Test verifies title length using metadata object literal as text

What vx is, and what it refuses to be

Every monorepo tool eventually describes itself with a paragraph of nouns: caching, task graph, remote execution, affected detection, generators, a dashboard, a cloud.

  • vx is a monorepo tool with a five-stage pipeline for task management
  • Tasks in vx defined as shell commands with declared inputs and outputs
  • vx focuses on correctness and speed, avoiding cloud and cloud-related features

More from Friday 9 October →