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

add types to the exports field in package.json #490

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

yi-fan-song
Copy link
Contributor

Typescript 4.7+ with moduleResolution: node16 reads the types from the exports field

Typescript 4.7+ with `moduleResolution: node16` reads the types from the exports field
@changeset-bot
Copy link

changeset-bot bot commented Mar 3, 2023

🦋 Changeset detected

Latest commit: 20e13b2

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

This PR includes changesets to release 3 packages
Name Type
@metaplex-foundation/js Patch
@metaplex-foundation/js-plugin-aws Patch
@metaplex-foundation/js-plugin-nft-storage 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

@raymondfeng
Copy link

Any chance to merge this PR and publish a new release?

@raymondfeng
Copy link

@lorisleiva We would appreciate this PR to be merged and released. It's blocking us from migrating to ESM with TypeScript 5.x.

@lorisleiva
Copy link
Contributor

Hi there, could you add a patch changeset so this can be published after being merged?

@yi-fan-song
Copy link
Contributor Author

@lorisleiva I've added a changeset, doing a patch bump since to my knowledge, the types field in the exports shouldn't affect existing projects. But a minor bump might be appropriate if I'm wrong about that.

@febo febo merged commit 8b7f7b0 into metaplex-foundation:main Sep 18, 2023
3 checks passed
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.

4 participants