Skip to content

Conversation

@Bashamega
Copy link
Contributor

Summary

This PR adds a new ./types subpath export to the generated manifest. It separates the types and default fields to better support tools and consumers that reference type definitions directly.

Test results and supporting details

See Node.js package exports documentation: https://nodejs.org/api/packages.html#exports

Related issues

Fixes failing tests at microsoft/TypeScript-DOM-lib-generator#2104

@github-actions github-actions bot added infra Infrastructure issues (npm, GitHub Actions, releases) of this project scripts Issues or pull requests regarding the scripts in scripts/. size:xs [PR only] 0-6 LoC changed labels Aug 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@Bashamega
Copy link
Contributor Author

Can you review this @queengooborg?
Thank you

Copy link
Contributor

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

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

Thank you for your PR! This is looking good overall, there's just a couple of things to fix.

The first one is in the below review comment.

The second: may we also update the package.json in the root folder to mirror these changes?

Bashamega and others added 2 commits August 5, 2025 11:37
Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
@github-actions github-actions bot added size:s [PR only] 7-24 LoC changed and removed size:xs [PR only] 0-6 LoC changed labels Aug 5, 2025
@Bashamega
Copy link
Contributor Author

Thanks for your review @queengooborg
I have updated it

@Bashamega Bashamega requested a review from queengooborg August 5, 2025 08:42
Copy link
Contributor

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

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

Thank you, looks great! This will be included in today's release!

@queengooborg queengooborg merged commit 42c0de9 into mdn:main Aug 5, 2025
6 of 7 checks passed
@queengooborg queengooborg added the semver-minor-bump A change that adds a new, non-potentially-breaking feature for consumers label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Infrastructure issues (npm, GitHub Actions, releases) of this project scripts Issues or pull requests regarding the scripts in scripts/. semver-minor-bump A change that adds a new, non-potentially-breaking feature for consumers size:s [PR only] 7-24 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants