Tools for working with Yarn workspaces
Last updated 6 months ago by strax .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install wstools 
SYNC missed versions from official npm registry.


wstools is a suite of command-line utilities for working with Yarn workspaces.

Available commands

So far, wstools contains two (usable) commands: wsrun and wsviz.


wsrun is an utility that runs a given package.json script in each workspace in parallel. It builds a dependency graph from the workspace and ensures a workspace is built only after its dependencies. The current state of the tool does not allow customizing the amount of parallel tasks but rather is fixed to n - 1 where n is the amount of the cores available in the machine.


  $ wstools SCRIPT

  SCRIPT  The package.json script to run in each workspace

  -u, --unordered  Execute workspaces in parallel without generating a dependency graph
  --help           show CLI help


wzviz generates DOT markup for the current workspace's execution graph. In other words, it shows a visualization of the partial ordering in which wsrun would run tasks. The output of this tool is intended to be piped to other commands, for example graphviz.



Current Tags

  • 0.5.0                                ...           latest (6 months ago)

6 Versions

  • 0.5.0                                ...           6 months ago
  • 0.4.0                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (3)
Dependents (0)

Copyright 2014 - 2016 © |