Bona-fide
Watch and sync modules in monorepo packages
Install
$ npm install --save-dev bona-fide
Config
Package use bona-fide.json
file in projecy root.
{
"packagesDir" : "packages",
"sourceDir" : "src",
"file" : "schema.h.js",
"ignorePackages": ["ignored-package"]
}
-
packagesDir. Directory where packages are stored. (
packages
by default in Lerna) - sourceDir. Source files of every package
- file. File which will be synced
- ignorePackages. Packages which won't be synced
Usage
Just run bona-fide
in terminal
$ bona-fide
> last updated packages/some-package/src/schema.h.js