npm.io
1.0.0 • Published 7 years agoCLI

@futagoza/sync-yarn-workspaces

Licence
MIT
Version
1.0.0
Deps
8
Size
6 kB
Vulns
1
Weekly
0

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

History license

@futagoza/sync-yarn-workspaces is Copyright (c) 2018+ Futago-za Ryuu