-
Hi guys,
In each subfolder, there is package.json with packages that I need. In the root, I have |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Everything is hoisted to the root node_modules of the workspace (which is the directory where you have the |
Beta Was this translation helpful? Give feedback.
Everything is hoisted to the root node_modules of the workspace (which is the directory where you have the
pnpm-workspace.yaml
file). Unless different versions of the same dependency are present in multiple projects in the workspace. In that case one of the versions will be hoisted to the root of the workspace. The other ones will be hoisted just to the root of the project.