Skip to content

[EngSys] remove dev-tool run vendored from individual packages#36198

Merged
jeremymeng merged 10 commits intoAzure:mainfrom
jeremymeng:engsys/add-tools-devdeps-back
Oct 13, 2025
Merged

[EngSys] remove dev-tool run vendored from individual packages#36198
jeremymeng merged 10 commits intoAzure:mainfrom
jeremymeng:engsys/add-tools-devdeps-back

Conversation

@jeremymeng
Copy link
Member

The primary reason that we added dev-tool run vendored command is to manage
dependencies centrally. Now we can achieve that with pnpm workspace/catalog
feature. This PR removes most of the dev-tool run vendored usages from
individual packages and replace them with direct tool calls. Those tools are
also added to individual package's dev dependencies per Pnpm recommendation.

These tool include `cross-env`, `eslint`, `prettier`, `rimraf`. The Pnpm docs
recommend including dependencies in individual packages package.json and only
keeping tools needed for mono-repo maintenance in the global package.json
use "pnpm pack" now that we have workspace/catalog version specifiers
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Member

@maorleger maorleger left a comment

Choose a reason for hiding this comment

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

🚀 🥳

(huge PR but looks pretty mechanical, had copilot summarize the changes)

@jeremymeng
Copy link
Member Author

Going to override unrelated test failures.

@jeremymeng
Copy link
Member Author

/check-enforcer override

@kazrael2119
Copy link
Member

kazrael2119 commented Oct 16, 2025

@jeremymeng I met an error when running pnpm install after the code generation finished
image

this is because in this pr , mkdirp was added in devDependencies generation, but this pr removed it in pnpm-workspace.yaml, I think we should remove this in codegen?

@jeremymeng
Copy link
Member Author

@kazrael2119 yes we need to merge Azure/autorest.typescript#3536

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants