Skip to content

Conversation

@Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Dec 10, 2025

Summary

adds the types field to exports. All other packages already have it set.

Result

fixes #6836

This isn't a breaking change

@Haroenv Haroenv requested review from a team, FabienMotte and shaejaz and removed request for a team December 10, 2025 12:10
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a838d25:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

Copy link
Contributor

@shaejaz shaejaz left a comment

Choose a reason for hiding this comment

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

Should we also use the exports format for instantsearch.js and algoliasearch-helper? Currently they use main but not sure if there's a limitation on them.

@Haroenv
Copy link
Contributor Author

Haroenv commented Dec 10, 2025

we can't add exports to packages that don't have them yet, that's a breaking change.

@Haroenv Haroenv merged commit 87f3aaf into master Dec 10, 2025
15 checks passed
@Haroenv Haroenv deleted the fix/types-field branch December 10, 2025 13:14
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.

Add exports.types to the package.json of react-instantsearch

4 participants