Skip to content

Commit

Permalink
Merge #1327
Browse files Browse the repository at this point in the history
1327: Update meilisearch-js dependency verison (v0.44) r=curquiza a=curquiza

- update `meilisearch` js client
- update `parcel` and `turbo`
- get rid of angular playground tests, as [angular-instantsearch got deprecated](https://www.algolia.com/blog/algolia/migrating-from-angular-instantsearch/)

Co-authored-by: curquiza <[email protected]>
Co-authored-by: F. Levi <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2024
2 parents a03f94c + 681e38f commit 8378c28
Show file tree
Hide file tree
Showing 42 changed files with 3,210 additions and 8,241 deletions.
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"ignore": [
"@meilisearch/geo-playground",
"@meilisearch/vanilla-playground",
"@meilisearch/angular-playground",
"@meilisearch/vue3-ts-playground",
"@meilisearch/react-playground",
"@meilisearch/local-react-playground",
Expand Down
9 changes: 9 additions & 0 deletions .changeset/modern-forks-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@meilisearch/instant-meilisearch": minor
"eslint-config-meilisearch": patch
"@meilisearch/autocomplete-client": minor
---

- update `meilisearch` js client
- update `parcel` and `turbo`
- get rid of angular playground tests, as [angular-instantsearch got deprecated](https://www.algolia.com/blog/algolia/migrating-from-angular-instantsearch/)
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ typings/
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
# parcel cache (https://parceljs.org/)
.parcel-cache

# Next.js build output
.next
Expand Down Expand Up @@ -123,6 +123,4 @@ dist
data.ms
.turbo

.angular

.idea
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"scripts": {
"playground:geosearch": "turbo run dev --filter=@meilisearch/geo-playground --parallel",
"playground:vanilla": "turbo run dev --filter=@meilisearch/vanilla-playground --parallel",
"playground:angular": "turbo run dev --filter=@meilisearch/angular-playground --parallel",
"playground:vue3": "turbo run dev --filter=@meilisearch/vue3-ts-playground --parallel",
"playground:react": "turbo run dev --filter=@meilisearch/react-playground --parallel",
"playground:local-react": "turbo run dev --filter=@meilisearch/local-react-playground --parallel",
Expand All @@ -37,12 +36,17 @@
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "^29.5.1",
"@types/jest-diff": "^24.3.0",
"parcel-bundler": "^1.12.5",
"turbo": "^1.10.12"
"parcel": "^2.12.0",
"turbo": "^2.1.3"
},
"dependencies": {
"@changesets/cli": "^2.26.1",
"instantsearch.css": "^8.0.0"
},
"alias": {
"node:crypto": false,
"node:buffer": false,
"node:process": false
},
"packageManager": "[email protected]"
}
10 changes: 4 additions & 6 deletions packages/autocomplete-client/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ module.exports = {
projects: [
{
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
'ts-jest': { tsconfig: 'tsconfig.test.json' },
fetch: globalThis.fetch,
},
preset: 'ts-jest',
displayName: 'dom',
Expand All @@ -22,9 +21,8 @@ module.exports = {
},
{
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
'ts-jest': { tsconfig: 'tsconfig.test.json' },
fetch: globalThis.fetch,
},
preset: 'ts-jest',
displayName: 'node',
Expand Down
3 changes: 1 addition & 2 deletions packages/autocomplete-client/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
},
"include": [
"./**/*"
],
"exclude": ["playgrounds/angular"]
]
}
2 changes: 0 additions & 2 deletions packages/eslint-config-meilisearch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ module.exports = {
browser: true, // for jest/puppeteer tests in tests/env/express
context: true, // for jest/puppeteer tests in tests/env/express
jestPuppeteer: true, // for jest/puppeteer tests in tests/env/express
jasmine: true, // for angular e2e tests in playground/angular
},
extends: [
'standard',
Expand Down Expand Up @@ -120,7 +119,6 @@ module.exports = {
browser: true, // for jest/puppeteer tests in tests/env/express
context: true, // for jest/puppeteer tests in tests/env/express
jestPuppeteer: true, // for jest/puppeteer tests in tests/env/express
jasmine: true, // for angular e2e tests in playground/angular
},
extends: [
'standard',
Expand Down
58 changes: 57 additions & 1 deletion packages/instant-meilisearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,66 @@ NB: If you don't have any Meilisearch instance running and containing your data,
- [⚡ Supercharge your Meilisearch experience](#-supercharge-your-meilisearch-experience)
- [🔧 Installation](#-installation)
- [🎬 Usage](#-usage)
- [Basic](#basic)
- [Parameters](#parameters)
- [💅 Customization](#-customization)
- [Placeholder Search](#placeholder-search)
- [Finite Pagination](#finite-pagination)
- [Primary key](#primary-key)
- [Keep zero facets](#keep-zero-facets)
- [Request Config](#request-config)
- [Custom HTTP client](#custom-http-client)
- [Meilisearch search parameters](#meilisearch-search-parameters)
- [Modify Meilisearch search parameters](#modify-meilisearch-search-parameters)
- [🪡 Example with InstantSearch](#-example-with-instantsearch)
- [More Documentation](#more-documentation)
- [🤖 Compatibility with Meilisearch and InstantSearch](#-compatibility-with-meilisearch-and-instantsearch)
- [📜 API Resources](#-api-resources)
- [📜 API resources](#-api-resources)
- [Table Of Widgets](#table-of-widgets)
- [✅ InstantSearch](#-instantsearch)
- [✅ Index](#-index)
- [✅ SearchBox](#-searchbox)
- [✅ Configure](#-configure)
- [❌ ConfigureRelatedItems](#-configurerelateditems)
- [Panel](#panel)
- [❌ Autocomplete](#-autocomplete)
- [✅ Voice Search](#-voice-search)
- [✅ Insight](#-insight)
- [✅ Middleware](#-middleware)
- [✅ renderState](#-renderstate)
- [✅ Hits](#-hits)
- [✅ InfiniteHits](#-infinitehits)
- [✅ Highlight](#-highlight)
- [✅ Snippet](#-snippet)
- [✅ Geo Search](#-geo-search)
- [Requirements](#requirements)
- [Usage](#usage)
- [❌ Answers](#-answers)
- [✅ RefinementList](#-refinementlist)
- [✅ HierarchicalMenu](#-hierarchicalmenu)
- [Hierarchical Menu Usage](#hierarchical-menu-usage)
- [✅ RangeSlider](#-rangeslider)
- [✅ Menu](#-menu)
- [✅ currentRefinements](#-currentrefinements)
- [✅ RangeInput](#-rangeinput)
- [✅ MenuSelect](#-menuselect)
- [✅ ToggleRefinement](#-togglerefinement)
- [✅ NumericMenu](#-numericmenu)
- [✅ RatingMenu](#-ratingmenu)
- [✅ ClearRefinements](#-clearrefinements)
- [✅ Pagination](#-pagination)
- [✅ HitsPerPage](#-hitsperpage)
- [✅ Breadcrumb](#-breadcrumb)
- [✅ Stats](#-stats)
- [❌ Analytics](#-analytics)
- [❌ QueryRuleCustomData](#-queryrulecustomdata)
- [❌ QueryRuleContext](#-queryrulecontext)
- [✅ SortBy](#-sortby)
- [Sort formula](#sort-formula)
- [Relevancy](#relevancy)
- [Example](#example)
- [❌ RelevantSort](#-relevantsort)
- [✅ Routing](#-routing)
- [⚙️ Development Workflow and Contributing](#️-development-workflow-and-contributing)

## 📖 Documentation
Expand Down
10 changes: 4 additions & 6 deletions packages/instant-meilisearch/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ module.exports = {
projects: [
{
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
'ts-jest': { tsconfig: 'tsconfig.test.json' },
fetch: globalThis.fetch,
},
preset: 'ts-jest',
displayName: 'dom',
Expand All @@ -22,9 +21,8 @@ module.exports = {
},
{
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
'ts-jest': { tsconfig: 'tsconfig.test.json' },
fetch: globalThis.fetch,
},
preset: 'ts-jest',
displayName: 'node',
Expand Down
2 changes: 1 addition & 1 deletion packages/instant-meilisearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"templates"
],
"dependencies": {
"meilisearch": "^0.42.0"
"meilisearch": "^0.44.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
Expand Down
5 changes: 2 additions & 3 deletions packages/instant-meilisearch/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"suppressImplicitAnyIndexErrors": true,
"suppressImplicitAnyIndexErrors": true
},
"include": [
"./**/*"
],
"exclude": ["playgrounds/angular"]
]
}
5 changes: 0 additions & 5 deletions playgrounds/angular/.eslintrc.js

This file was deleted.

46 changes: 0 additions & 46 deletions playgrounds/angular/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions playgrounds/angular/README.md

This file was deleted.

85 changes: 0 additions & 85 deletions playgrounds/angular/angular.json

This file was deleted.

Loading

0 comments on commit 8378c28

Please sign in to comment.