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

refactor: introduce instantsearch-core #6371

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Conversation

sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Sep 25, 2024

This creates a new instantsearch-core and extracts a first set of easy-to-migrate types.

The process will be iterative with small PRs to avoid a huge diff.

The moved types are still re-exported, as they are useful for users of the library, and all types are already exported in current instantsearch.js. We can if needed establish a pattern for internal types later, but that's likely not needed initially.

FX-3094
FX-3095

Copy link

codesandbox-ci bot commented Sep 25, 2024

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 6232a64:

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

packages/instantsearch.js/src/types/index.ts Outdated Show resolved Hide resolved
@Haroenv Haroenv force-pushed the feat/instantsearch-core branch 3 times, most recently from 9ea85df to 113a313 Compare October 22, 2024 15:24
@Haroenv Haroenv marked this pull request as draft October 22, 2024 15:24
@Haroenv Haroenv changed the base branch from master to next October 22, 2024 15:24
@Haroenv Haroenv self-assigned this Oct 23, 2024
@Haroenv Haroenv marked this pull request as ready for review October 23, 2024 09:03
@Haroenv Haroenv dismissed their stale review October 23, 2024 09:04

I've since refactored the PR, so can no longer approve it

@Haroenv Haroenv changed the title feat: introduce instantsearch-core refactor: introduce instantsearch-core Oct 23, 2024
Copy link
Member

@dhayab dhayab left a comment

Choose a reason for hiding this comment

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

Looks good to me!

packages/instantsearch-core/README.md Outdated Show resolved Hide resolved
packages/instantsearch-core/package.json Outdated Show resolved Hide resolved
Co-authored-by: Dhaya <154633+dhayab@users.noreply.github.com>
@Haroenv Haroenv merged commit 73faf7a into next Oct 25, 2024
0 of 3 checks passed
@Haroenv Haroenv deleted the feat/instantsearch-core branch October 25, 2024 09:20
Haroenv added a commit that referenced this pull request Oct 25, 2024
* feat: introduce `instantsearch-core` package

* Apply suggestions from code review

Co-authored-by: Dhaya <154633+dhayab@users.noreply.github.com>

---------

Co-authored-by: Haroen Viaene <hello@haroen.me>
Co-authored-by: Dhaya <154633+dhayab@users.noreply.github.com>
Haroenv added a commit that referenced this pull request Oct 25, 2024
* feat: introduce `instantsearch-core` package

* Apply suggestions from code review

Co-authored-by: Dhaya <154633+dhayab@users.noreply.github.com>

---------

Co-authored-by: Haroen Viaene <hello@haroen.me>
Co-authored-by: Dhaya <154633+dhayab@users.noreply.github.com>
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