Skip to content

Switch to use vendored version for rimraf, mkdirp, and uglify-js in JS repo#2886

Merged
jeremymeng merged 8 commits intoAzure:mainfrom
jeremymeng:dev-tool-vendored
Nov 4, 2024
Merged

Switch to use vendored version for rimraf, mkdirp, and uglify-js in JS repo#2886
jeremymeng merged 8 commits intoAzure:mainfrom
jeremymeng:dev-tool-vendored

Conversation

@jeremymeng
Copy link
Copy Markdown
Member

@jeremymeng jeremymeng commented Oct 29, 2024

Similar work has been merged in Azure JS Rep: Azure/azure-sdk-for-js@59bb080, Azure/azure-sdk-for-js@980f3cbb89c

audit script has been removed in Azure JS repo: Azure/azure-sdk-for-js@1cae9db8e18

update-snippets script has been added in Azure JS repo: Azure/azure-sdk-for-js@61c8b9aae4f

Comment thread packages/rlc-common/test/integration/packageJson.spec.ts
Copy link
Copy Markdown
Member

@MaryGao MaryGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need applying the same change for RLC and Modular.

@jeremymeng jeremymeng requested a review from MaryGao November 1, 2024 19:28
@jeremymeng
Copy link
Copy Markdown
Member Author

I updated the PR to vendor uglify-js, remove "audit" and add "update-snippets" for JS mono repo.

enable `rush format`
@jeremymeng jeremymeng changed the title Switch to use vendored version for rimraf and mkdirp in JS repo Switch to use vendored version for rimraf, mkdirp, and uglify-js in JS repo Nov 1, 2024
"integration-test:node": "echo skipped",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"update-snippets": "echo skipped"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I know what is the purpose of this script?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to extract snippets used in the README.md from a test file so that we don't have to copypaste them manually to check

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremymeng I notice update-snippets is always skipped, do we have any document on when and how to use this script?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MaryGao ideally we would have document the command in dev-tool's readme. Not sure about current status. The PR to add this command also has information: Azure/azure-sdk-for-js#31143

Copy link
Copy Markdown
Member

@MaryGao MaryGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and just one comment to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants