Skip to content

Promote types conditional exports to the top of the list #38

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

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

brophdawg11
Copy link

types conditional exports should always be first: https://nodejs.org/api/packages.html#community-conditions-definitions

@changeset-bot
Copy link

changeset-bot bot commented Aug 1, 2023

🦋 Changeset detected

Latest commit: 9e235ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@remix-run/web-blob Patch
@remix-run/web-fetch Patch
@remix-run/web-file Patch
@remix-run/web-form-data Patch
@remix-run/web-stream Patch

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

"exports": {
".": {
"types": "./dist/src/lib.d.ts",
Copy link
Author

Choose a reason for hiding this comment

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

Unsure why this and form-data didn't have types as a conditional export but added it to align with the other packages.

@brophdawg11 brophdawg11 merged commit 43c6ce2 into main Aug 1, 2023
@brophdawg11 brophdawg11 deleted the brophdawg11/promote-types branch August 1, 2023 20:17
MichaelDeBoey pushed a commit to MichaelDeBoey/web-std-io that referenced this pull request Aug 26, 2023
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