Skip to content

[rush] rush-sdk try to load from global folder before install-and-run rush #3878

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

Merged

Conversation

chengcyber
Copy link
Contributor

Summary

This PR add a feature to rush-sdk.

Details

Before invoking install-and-run rush, try to load rush-lib from rush global folder for a better reuse of installed rush-lib.

How it was tested

Tested locally

Impacted documentation

Nope

@chengcyber chengcyber changed the title Feat rush sdk load from global folder [rush] rush-sdk try to load from global folder before install-and-run rush Jan 8, 2023
@chengcyber chengcyber force-pushed the feat-rush-sdk-load-from-global-folder branch from 51077b4 to 3884bb4 Compare January 24, 2023 05:30
@chengcyber chengcyber force-pushed the feat-rush-sdk-load-from-global-folder branch from 88c8e3b to ef31e73 Compare June 8, 2024 08:29
@chengcyber chengcyber force-pushed the feat-rush-sdk-load-from-global-folder branch from 1eb2be2 to 64a0288 Compare June 8, 2024 09:00
@chengcyber
Copy link
Contributor Author

This MR has been a while. I recalled it and updated the code!

Use webpack5 to bundle @rushstack/rush-sdk package. RushGlobalFolder from rush-lib will be bundled into the output code.

@chengcyber
Copy link
Contributor Author

Hi @iclanton , I pushed code modifications as your suggestions. Could you kindly take another look? Thx!

@chengcyber chengcyber requested a review from iclanton June 21, 2024 04:19
@chengcyber
Copy link
Contributor Author

chengcyber commented Jun 25, 2024

For the merge conflict, I merged the latest main branch and fixed it yesterday. However, there is a merge conflicts with main's repo-state.json today... Do I need to merge the latest main branch again? Merged the latest main branch to fix the conflicts

@octogonz octogonz enabled auto-merge June 29, 2024 07:55
@octogonz octogonz merged commit 94e1575 into microsoft:main Jun 29, 2024
5 checks passed
@octogonz octogonz deleted the feat-rush-sdk-load-from-global-folder branch June 29, 2024 08:18
@octogonz
Copy link
Collaborator

🚀 Finally released with Rush 5.129.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

4 participants