@futagoza/sync-yarn-workspaces
v1.0.0
Published
Will sync the version of any dependency that is also a workspace package.
Downloads
9
Maintainers
Readme
Will sync the version of any dependency that is also a workspace package.
example
On the CLI (optionally pass root directories):
$ sync-yarn-workspaces
Through the API (optionally pass a single root directory):
const sync = require( "@futagoza/sync-yarn-workspaces" );
sync();
things to note
- Format of each package.json is kept
- The dependency version is only updated if it is lower then the workspace version
- This module is synchronous
@futagoza/sync-yarn-workspaces is Copyright (c) 2018+ Futago-za Ryuu