monorepo-dependencies
Get the local dependency package path of
lerna
andyarn
in the workspace
Usage
const { monorepoDependenciesLocalPaths } = require('monorepo-dependencies');
monorepoDependenciesLocalPaths('@scope/core');
In the yarn
or lerna
workspace, obtain the local dependency package path through the package name.