New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deploy): ensure that the deploy target is generated in the same directory #6859
Conversation
…irectory docs: add changeset fix: test
78eaa32
to
e6b74d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the issue with dedupePeerDependents?
Is the modules directory issue covered with a test?
I am not sure why all module directories should be updated, I'll have to look into it.
The original issue here should be related to
Yes, In this test,
Take So I updated the modulesDir of all projects here to ensure that the relative path is correct. |
It is not a good fix. The issue is happening because deploy should run on a single project but when dedupe-peer-dependnents it true, all projects are selected: pnpm/pkg-manager/plugin-commands-installation/src/installDeps.ts Lines 167 to 171 in 32679f0
The easiest fix would be to always set dedupe-peer-dependnents to true, when running install during deploy. |
I just noticed that even though It looks like we need to set the |
fix #6858