Skip to content

Commit 8378c28

Browse files
meili-bors[bot]curquizaflevi29
authored
Merge #1327
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]>
2 parents a03f94c + 681e38f commit 8378c28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3210
-8241
lines changed

.changeset/config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"ignore": [
1111
"@meilisearch/geo-playground",
1212
"@meilisearch/vanilla-playground",
13-
"@meilisearch/angular-playground",
1413
"@meilisearch/vue3-ts-playground",
1514
"@meilisearch/react-playground",
1615
"@meilisearch/local-react-playground",

.changeset/modern-forks-know.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@meilisearch/instant-meilisearch": minor
3+
"eslint-config-meilisearch": patch
4+
"@meilisearch/autocomplete-client": minor
5+
---
6+
7+
- update `meilisearch` js client
8+
- update `parcel` and `turbo`
9+
- get rid of angular playground tests, as [angular-instantsearch got deprecated](https://www.algolia.com/blog/algolia/migrating-from-angular-instantsearch/)

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ typings/
7272
.env
7373
.env.test
7474

75-
# parcel-bundler cache (https://parceljs.org/)
76-
.cache
75+
# parcel cache (https://parceljs.org/)
76+
.parcel-cache
7777

7878
# Next.js build output
7979
.next
@@ -123,6 +123,4 @@ dist
123123
data.ms
124124
.turbo
125125

126-
.angular
127-
128126
.idea

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"scripts": {
1414
"playground:geosearch": "turbo run dev --filter=@meilisearch/geo-playground --parallel",
1515
"playground:vanilla": "turbo run dev --filter=@meilisearch/vanilla-playground --parallel",
16-
"playground:angular": "turbo run dev --filter=@meilisearch/angular-playground --parallel",
1716
"playground:vue3": "turbo run dev --filter=@meilisearch/vue3-ts-playground --parallel",
1817
"playground:react": "turbo run dev --filter=@meilisearch/react-playground --parallel",
1918
"playground:local-react": "turbo run dev --filter=@meilisearch/local-react-playground --parallel",
@@ -37,12 +36,17 @@
3736
"@testing-library/jest-dom": "^5.16.5",
3837
"@types/jest": "^29.5.1",
3938
"@types/jest-diff": "^24.3.0",
40-
"parcel-bundler": "^1.12.5",
41-
"turbo": "^1.10.12"
39+
"parcel": "^2.12.0",
40+
"turbo": "^2.1.3"
4241
},
4342
"dependencies": {
4443
"@changesets/cli": "^2.26.1",
4544
"instantsearch.css": "^8.0.0"
4645
},
46+
"alias": {
47+
"node:crypto": false,
48+
"node:buffer": false,
49+
"node:process": false
50+
},
4751
"packageManager": "[email protected]"
4852
}

packages/autocomplete-client/jest.config.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ module.exports = {
1111
projects: [
1212
{
1313
globals: {
14-
'ts-jest': {
15-
tsconfig: 'tsconfig.test.json',
16-
},
14+
'ts-jest': { tsconfig: 'tsconfig.test.json' },
15+
fetch: globalThis.fetch,
1716
},
1817
preset: 'ts-jest',
1918
displayName: 'dom',
@@ -22,9 +21,8 @@ module.exports = {
2221
},
2322
{
2423
globals: {
25-
'ts-jest': {
26-
tsconfig: 'tsconfig.test.json',
27-
},
24+
'ts-jest': { tsconfig: 'tsconfig.test.json' },
25+
fetch: globalThis.fetch,
2826
},
2927
preset: 'ts-jest',
3028
displayName: 'node',

packages/autocomplete-client/tsconfig.test.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
},
77
"include": [
88
"./**/*"
9-
],
10-
"exclude": ["playgrounds/angular"]
9+
]
1110
}

packages/eslint-config-meilisearch/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ module.exports = {
5757
browser: true, // for jest/puppeteer tests in tests/env/express
5858
context: true, // for jest/puppeteer tests in tests/env/express
5959
jestPuppeteer: true, // for jest/puppeteer tests in tests/env/express
60-
jasmine: true, // for angular e2e tests in playground/angular
6160
},
6261
extends: [
6362
'standard',
@@ -120,7 +119,6 @@ module.exports = {
120119
browser: true, // for jest/puppeteer tests in tests/env/express
121120
context: true, // for jest/puppeteer tests in tests/env/express
122121
jestPuppeteer: true, // for jest/puppeteer tests in tests/env/express
123-
jasmine: true, // for angular e2e tests in playground/angular
124122
},
125123
extends: [
126124
'standard',

packages/instant-meilisearch/README.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,66 @@ NB: If you don't have any Meilisearch instance running and containing your data,
4444
- [⚡ Supercharge your Meilisearch experience](#-supercharge-your-meilisearch-experience)
4545
- [🔧 Installation](#-installation)
4646
- [🎬 Usage](#-usage)
47+
- [Basic](#basic)
48+
- [Parameters](#parameters)
4749
- [💅 Customization](#-customization)
50+
- [Placeholder Search](#placeholder-search)
51+
- [Finite Pagination](#finite-pagination)
52+
- [Primary key](#primary-key)
53+
- [Keep zero facets](#keep-zero-facets)
54+
- [Request Config](#request-config)
55+
- [Custom HTTP client](#custom-http-client)
56+
- [Meilisearch search parameters](#meilisearch-search-parameters)
57+
- [Modify Meilisearch search parameters](#modify-meilisearch-search-parameters)
4858
- [🪡 Example with InstantSearch](#-example-with-instantsearch)
59+
- [More Documentation](#more-documentation)
4960
- [🤖 Compatibility with Meilisearch and InstantSearch](#-compatibility-with-meilisearch-and-instantsearch)
50-
- [📜 API Resources](#-api-resources)
61+
- [📜 API resources](#-api-resources)
62+
- [Table Of Widgets](#table-of-widgets)
63+
- [✅ InstantSearch](#-instantsearch)
64+
- [✅ Index](#-index)
65+
- [✅ SearchBox](#-searchbox)
66+
- [✅ Configure](#-configure)
67+
- [❌ ConfigureRelatedItems](#-configurerelateditems)
68+
- [Panel](#panel)
69+
- [❌ Autocomplete](#-autocomplete)
70+
- [✅ Voice Search](#-voice-search)
71+
- [✅ Insight](#-insight)
72+
- [✅ Middleware](#-middleware)
73+
- [✅ renderState](#-renderstate)
74+
- [✅ Hits](#-hits)
75+
- [✅ InfiniteHits](#-infinitehits)
76+
- [✅ Highlight](#-highlight)
77+
- [✅ Snippet](#-snippet)
78+
- [✅ Geo Search](#-geo-search)
79+
- [Requirements](#requirements)
80+
- [Usage](#usage)
81+
- [❌ Answers](#-answers)
82+
- [✅ RefinementList](#-refinementlist)
83+
- [✅ HierarchicalMenu](#-hierarchicalmenu)
84+
- [Hierarchical Menu Usage](#hierarchical-menu-usage)
85+
- [✅ RangeSlider](#-rangeslider)
86+
- [✅ Menu](#-menu)
87+
- [✅ currentRefinements](#-currentrefinements)
88+
- [✅ RangeInput](#-rangeinput)
89+
- [✅ MenuSelect](#-menuselect)
90+
- [✅ ToggleRefinement](#-togglerefinement)
91+
- [✅ NumericMenu](#-numericmenu)
92+
- [✅ RatingMenu](#-ratingmenu)
93+
- [✅ ClearRefinements](#-clearrefinements)
94+
- [✅ Pagination](#-pagination)
95+
- [✅ HitsPerPage](#-hitsperpage)
96+
- [✅ Breadcrumb](#-breadcrumb)
97+
- [✅ Stats](#-stats)
98+
- [❌ Analytics](#-analytics)
99+
- [❌ QueryRuleCustomData](#-queryrulecustomdata)
100+
- [❌ QueryRuleContext](#-queryrulecontext)
101+
- [✅ SortBy](#-sortby)
102+
- [Sort formula](#sort-formula)
103+
- [Relevancy](#relevancy)
104+
- [Example](#example)
105+
- [❌ RelevantSort](#-relevantsort)
106+
- [✅ Routing](#-routing)
51107
- [⚙️ Development Workflow and Contributing](#️-development-workflow-and-contributing)
52108

53109
## 📖 Documentation

packages/instant-meilisearch/jest.config.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ module.exports = {
1010
projects: [
1111
{
1212
globals: {
13-
'ts-jest': {
14-
tsconfig: 'tsconfig.test.json',
15-
},
13+
'ts-jest': { tsconfig: 'tsconfig.test.json' },
14+
fetch: globalThis.fetch,
1615
},
1716
preset: 'ts-jest',
1817
displayName: 'dom',
@@ -22,9 +21,8 @@ module.exports = {
2221
},
2322
{
2423
globals: {
25-
'ts-jest': {
26-
tsconfig: 'tsconfig.test.json',
27-
},
24+
'ts-jest': { tsconfig: 'tsconfig.test.json' },
25+
fetch: globalThis.fetch,
2826
},
2927
preset: 'ts-jest',
3028
displayName: 'node',

packages/instant-meilisearch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"templates"
5151
],
5252
"dependencies": {
53-
"meilisearch": "^0.42.0"
53+
"meilisearch": "^0.44.0"
5454
},
5555
"devDependencies": {
5656
"@babel/cli": "^7.22.9",

0 commit comments

Comments
 (0)