Skip to content

Commit

Permalink
Merge branch 'main' into bump-meilisearch-v1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza authored Oct 16, 2024
2 parents 671df76 + 3de2804 commit 98cb3a4
Show file tree
Hide file tree
Showing 50 changed files with 3,247 additions and 8,256 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
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]"
}
13 changes: 13 additions & 0 deletions packages/autocomplete-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @meilisearch/autocomplete-client

## 0.4.0

### Minor Changes

- 26e7cfd: - 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/)

### Patch Changes

- Updated dependencies [26e7cfd]
- @meilisearch/instant-meilisearch@0.21.0

## 0.3.0

### Minor Changes
Expand Down
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
2 changes: 1 addition & 1 deletion packages/autocomplete-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meilisearch/autocomplete-client",
"version": "0.3.0",
"version": "0.4.0",
"private": false,
"description": "The search client to use Meilisearch with autocomplete.js.",
"homepage": "https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/autocomplete-client",
Expand Down
2 changes: 1 addition & 1 deletion packages/autocomplete-client/src/package-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = '0.3.0'
export const PACKAGE_VERSION = '0.4.0'
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"]
]
}
9 changes: 9 additions & 0 deletions packages/eslint-config-meilisearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# eslint-config-meilisearch

## 0.0.1

### Patch Changes

- 26e7cfd: - 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/)
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
2 changes: 1 addition & 1 deletion packages/eslint-config-meilisearch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-meilisearch",
"version": "0.0.0",
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"private": true,
Expand Down
14 changes: 14 additions & 0 deletions packages/instant-meilisearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @meilisearch/instant-meilisearch

## 0.21.1

### Patch Changes

- 1e7bf78: Fix wrong "meilisearch" client being imported in UMD bundle.

## 0.21.0

### Minor Changes

- 26e7cfd: - 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/)

## 0.20.1

### Patch Changes
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
4 changes: 2 additions & 2 deletions packages/instant-meilisearch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meilisearch/instant-meilisearch",
"version": "0.20.1",
"version": "0.21.1",
"private": false,
"description": "The search client to use Meilisearch with InstantSearch.",
"homepage": "https://github.com/meilisearch/meilisearch-js-plugins/tree/main/packages/instant-meilisearch",
Expand Down Expand Up @@ -50,7 +50,7 @@
"templates"
],
"dependencies": {
"meilisearch": "^0.42.0"
"meilisearch": "^0.44.0"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
Expand Down
7 changes: 1 addition & 6 deletions packages/instant-meilisearch/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const ROLLUP_OPTIONS = [
// browser-friendly IIFE build
{
input: INPUT, // directory to transpilation of typescript
external: ['cross-fetch', 'cross-fetch/polyfill'],
output: {
name: 'window',
extend: true,
Expand All @@ -55,11 +54,7 @@ const ROLLUP_OPTIONS = [
},
plugins: [
...COMMON_PLUGINS,
nodeResolve({
mainFields: ['jsnext', 'browser', 'main'],
preferBuiltins: true,
browser: true,
}),
nodeResolve({ exportConditions: ['browser'] }),
commonjs(),
babel(),
// json(),
Expand Down
2 changes: 1 addition & 1 deletion packages/instant-meilisearch/src/package-version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = '0.20.1'
export const PACKAGE_VERSION = '0.21.1'
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.

Loading

0 comments on commit 98cb3a4

Please sign in to comment.