Skip to content

jeffisadams/workspace-changes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yarn Changed (Seriously, how does this not exist yet?)

Contributions and PRs welcome

This CLI package compares to the default branch and tells you which workspace packages have changed. It also outputs the changed packages in order of dependency. Ideally we can use this to get build order and bake it into automation without having to bring on Lerna. This is also only focused on GIT so if your repo isn't using git, then you're going to have a bad time.

Help Output

Usage: workspaces [options]

Get the ordered list of which workspaces have changed since the reference commit

Options:
  -V, --version          output the version number
  -r, --ref <value>      Github ref to compare from.  Can be `ref/tags/<tag>` or `<branch>` or `12345678987654321`
  -p, --package <value>  path to root package.json (default: "./package.json")
  -i, --info             Show verbose workspace info (default: false)
  -j, --json             Output as json (default: false)
  -h, --help             display help for command

About

Which workspaces need to be built

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published