-
We can install packages inside subdirectories. But they are not automatically hoisted to the root node_modules folder. But after an It would be better if the packages were hoisted without the extra command. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
hi @S-Nakib is this in the context of workspaces? As long as there is no |
Beta Was this translation helpful? Give feedback.
-
for me, runnin I want all devDependencies to be hoisted, but I don't know how? |
Beta Was this translation helpful? Give feedback.
-
Would be nice to have a page in the docs explaining why certain things get hoisted and others don't. It's really hard to decipher. |
Beta Was this translation helpful? Give feedback.
-
for this repo as an example, running is there a method or a command to know why npm selected a specified dir to install the packages into? |
Beta Was this translation helpful? Give feedback.
hi @S-Nakib is this in the context of workspaces? As long as there is no
package.json
file inside the subdirectory everything should always be installed to the root node_modules folder.