Skip to content

Conversation

@bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Feb 3, 2021

Typescript conversion

Types update

Types have been improved and are compatible with instant search types.

Linting update

All envs and playgrounds are linted based on the root eslint config file.

Jest updates

as in meilisearch-js meilisearch/meilisearch-js#760 the jest jsdom had to be updated for the tests to succeed in node 10. #255

Testing

Add build before tests for env tests using jest to succeed.
Add build of playgrounds in CI to determine if they correctly extract instant-meilisearch.
Add instantsearch.js as a dev dependency as it is used for testing purposes
Add some nodejs tests that tries instantsearch compatibility with instant-meilisearch
Add a typescript

Playgrounds

  • Update playgrounds so that hot-reload also works on typescript files
  • Remove sub-dir eslint configs as everything is handled by root eslint config file

Naming

Methods inside instant-meilisearch function have been renamed for more clarity

@bidoubiwa bidoubiwa marked this pull request as ready for review February 9, 2021 15:51
@bidoubiwa bidoubiwa requested a review from curquiza February 9, 2021 18:05
@bidoubiwa bidoubiwa added the breaking-change The related changes are breaking for the users label Feb 9, 2021
@bidoubiwa bidoubiwa requested a review from curquiza February 10, 2021 11:36
Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

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

Huge work! thanks @bidoubiwa!

I let your merge when you are ready!

@bidoubiwa
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Feb 10, 2021

Build succeeded:

@bors bors bot merged commit a9c7f6d into typescript-dev Feb 10, 2021
@bors bors bot deleted the typescript-first branch February 10, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change The related changes are breaking for the users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants