This tool check your monorepo for diferent versions of the same dependencies (by recursively looking for package.json
file).
To ignore certain package, create .dedubcheck.js
file in your root dir containing:
module.exports = [['packages/web/package.json', 'lodash'], ['<path-to-package.json>', '<name-of-package>'], [...]];
You can ignore the whole package.json
by using *
:
module.exports = [['packages/web/package.json', '*']];
To run this thing, just do:
$ dedubcheck
For some debug info:
$ dedubcheck --debug