-
Notifications
You must be signed in to change notification settings - Fork 646
[rush] Copy over package binaries during deploy #2010
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
Conversation
I added a couple comments, but otherwise this is on the right track. 👍 |
Awesome. I’ll try and wrap this up tomorrow then. Thanks for the feedback. |
@octogonz one question I do have is how to link the bins in rushstack/apps/rush-lib/src/scripts/create-links.ts Lines 11 to 12 in 89076ae
In the |
Hmm.. That is a hitch that I had not considered. Inlining probably won't work because that package has numerous dependencies. Maybe we need to copy+transform the PNPM output here. Did you investigate step 5 from #1982 (comment) yet? That seems related. |
I haven't investigated step 5 yet, I was about to when I noticed that comment. I'll test it out |
BTW if it turns out we need to change our approach, and that the PR so far is sufficient to solve your own case, I would be okay with merging+publishing a partial solution in the interim. |
@willsoto To clarify, you're done working on this PR for now, and it is ready for final reviewing+merging. The cases we didn't handle should occur in a later PR. Is that right? |
@octogonz that is correct. I am not sure how to resolve the "no external dependencies" problem for the script at the moment |
I'm thinking it will maybe require a fundamentally different approach. Either:
I don't want to block this PR behind that, however. |
Agreed. This PR is done from my perspective then unless I forgot something. edit: just rebased and resolved conflicts |
Closes #1982 Signed-off-by: Will Soto <willsoto@users.noreply.github.com>
Signed-off-by: Will Soto <willsoto@users.noreply.github.com>
…loy-metadata.json
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.
I fixed a couple minor issues. Otherwise LGTM
This fix was released with Rush 5.29.0 |
@ujwal-setlur looks like this problem is now tracked by #2846 |
@octogonz thank you! |
I’ve implemented most of what was recommended in the issue, but I’m not sure where to write the tests.
I also haven’t implemented this for the
script
linking. I want to make sure I’m headed in the right direction.Closes #1982