Hidden cross-package (workspace) dependencies #2259
-
Beta Was this translation helpful? Give feedback.
Answered by
mehulkar
Oct 19, 2022
Replies: 1 comment
-
|
This is not related to turborepo. My guess is that when you install a dependency in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mehulkar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not related to turborepo. My guess is that when you install a dependency in
packages/here 2, the package is installed in the rootnode_modules/directory. Most likely your other packages have the ability to import/require packages from the root. I am not sure what patterns there are to solve this, however. It's possible that thenpmdocs on workspaces (or the docs of whatever package manager you're using) covers this!