-
-
Notifications
You must be signed in to change notification settings - Fork 363
feat(dts-plugin): support type generation for yarn pnp #4189
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
feat(dts-plugin): support type generation for yarn pnp #4189
Conversation
🦋 Changeset detectedLatest commit: 34cda5f The changes in this PR will be included in the next version bump. This PR includes changesets to release 37 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@ScriptedAlchemy @2heal1 @danpeen Sorry for ping |
|
yes, thanks for contributing! |
|
Thanks for the quick response! Much appreciated. 🙏 |
Description
Add support for Yarn package manager in TypeScript compilation for the DTS plugin.
Implementation:
Rationale:
The npm_config_user_agent detection is reliable because DTS generation is always triggered through package manager scripts (yarn build, yarn dev, etc.), which automatically set this environment variable.
Related Issue
Types of changes
Checklist