Skip to content
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

use dev-tool run extract-api in packages generated for JS mono repo #2462

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

jeremymeng
Copy link
Member

This follows the commit in JS repo: Azure/azure-sdk-for-js@224f7c1

@@ -185,6 +185,7 @@ function regularAutorestPackage(
packageInfo.devDependencies["@azure/dev-tool"] = "^1.0.0";
packageInfo.scripts["build"] =
"npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api";
packageInfo.scripts["extract-api"] = "dev-tool run extract-api";
Copy link
Member

Choose a reason for hiding this comment

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

May I know if we need to switch all actions to dev-tool?

Copy link
Member Author

Choose a reason for hiding this comment

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

For the JS monorepo we would prefer the consistent and centralized dev-tool command. It adds support for the subpath exports.

Copy link
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

@jeremymeng jeremymeng merged commit 0c48805 into Azure:main Apr 23, 2024
28 checks passed
@jeremymeng jeremymeng deleted the dev-tool-extract-api branch April 23, 2024 16:11
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.

2 participants