A simple script for keeping dependencies are same between root and packages on Yarn workspaces.
We are using Yarn workspaces and enabled Greenkeeper,
but Greenkeeper currently doesn't check for
packages/*. We gave up the
independent dependencies in
packages/*, make the dependencies same as root
You still need update the dependencies of
packages/* on local, but it will be
helpful for CI and Greenkeeper.
In the root workspace:
$ yarn add --dev -W yarn-workspace-sync-deps
We are using it after yarn install in the root workspace: