pnpm 10 deploy requires inject-workspace-packages, which makes monorepo life harder #9015
-
|
Can someone explain a bit why deploy now requires Enabling |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
I see there is a discussion around this here as well. We are in a similar situation and also use a monorepo with shared workspace packages. Not too sure what effect enabling this will have for us, but when testing with A bit of additional documentation or clarification around this new requirement would be great. |
Beta Was this translation helpful? Give feedback.
-
|
If you don't want to use |
Beta Was this translation helpful? Give feedback.
If you don't want to use
inject-workspace-packages=true, then set theforce-legacy-deploysetting totrueor runpnpm deploy --legacy. This works from pnpm v10.2.1.