connect-deps
connect-deps copied to clipboard
Not working when using connect-deps with a child package in a lerna monorepo that uses another child package as a dep
Question about using connect-deps
for a child package in a repo that uses lerna:
lerna bootstrap
leads to symlinking of all the packages in the monorepo
From lerna docs:
When run, this command will:
npm install all external dependencies of each package.
Symlink together all Lerna packages that are dependencies of each other.
But then what happens if you use connect-deps
to make a tarball of one of those packages in the monorepo? If that package depends on another package in the monorepo, will it find the symlinked version to package?
@hugomrdias Zero rush, but I'm very curious about this whenever you get a chance. Thanks!
In particular, I'm trying to use connect-deps
to use a local version of ipfs-http-client
from within the js-ipfs
monorepo in a React web app, and I want to make sure the React app picks up the local version of ipfs-utils
in node_modules
as well as a result of using ipfs-http-client
as a dependency. So far it doesn't appear to be using the local version.