diff --git a/.circleci/config.yml b/.circleci/config.yml
index e6f9c3cfa5..aeabb4948f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -40,7 +40,7 @@ workflows:
ci:
when:
not:
- equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
+ equal: [scheduled_pipeline, << pipeline.trigger_source >>]
jobs:
- build:
context: fx-libraries
@@ -106,8 +106,8 @@ workflows:
# See: https://app.circleci.com/settings/project/github/algolia/instantsearch/triggers
when:
and:
- - equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
- - equal: [ scheduled_release, << pipeline.schedule.name >> ]
+ - equal: [scheduled_pipeline, << pipeline.trigger_source >>]
+ - equal: [scheduled_release, << pipeline.schedule.name >>]
jobs:
- prepare release:
context: fx-libraries
@@ -116,8 +116,8 @@ workflows:
# See: https://app.circleci.com/settings/project/github/algolia/instantsearch/triggers
when:
and:
- - equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
- - equal: [ scheduled_e2e, << pipeline.schedule.name >> ]
+ - equal: [scheduled_pipeline, << pipeline.trigger_source >>]
+ - equal: [scheduled_e2e, << pipeline.schedule.name >>]
jobs:
- build:
context: fx-libraries
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000000..f0e0de1340
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1 @@
+packages/*/CHANGELOG.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 24175a377a..f27a2d8ab8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -11,7 +11,6 @@ If this guide does not contain what you are looking for and thus prevents you fr
-
- [Reporting an issue](#reporting-an-issue)
- [The code contribution process](#the-code-contribution-process)
- [Commit conventions](#commit-conventions)
diff --git a/README.md b/README.md
index 3cf0bee2fe..4065044806 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,6 @@ It is part of the InstantSearch family which is designed for different platforms
-
- [Packages](#packages)
- [Contributing](#contributing)
- [License](#license)
diff --git a/examples/js/e-commerce/index.html b/examples/js/e-commerce/index.html
index 7f2d0ae8f9..80977d2ee0 100755
--- a/examples/js/e-commerce/index.html
+++ b/examples/js/e-commerce/index.html
@@ -42,9 +42,7 @@
-
+
diff --git a/examples/js/media/index.html b/examples/js/media/index.html
index 94231398b3..2bbddf6486 100755
--- a/examples/js/media/index.html
+++ b/examples/js/media/index.html
@@ -143,9 +143,7 @@
/>
-
- Filter
-
+ Filter
@@ -164,7 +162,10 @@
data-layout="desktop"
class="container-filters-panel-column-wrapper"
>
-
+
@@ -216,8 +215,15 @@
-
InstantSearch.js is an open-source, production-ready library that lets you quickly build a search interface in your front-end application.
-
This demo uses data from the Algolia blog. Follow this link to benefit from the official blog experience.
+
+ InstantSearch.js is an open-source, production-ready library that lets
+ you quickly build a search interface in your front-end application.
+
+
+ This demo uses data from the Algolia blog. Follow
+ this link to benefit from the
+ official blog experience.
+
diff --git a/examples/js/media/src/app.css b/examples/js/media/src/app.css
index 66ca738028..6b2b7dbd2d 100644
--- a/examples/js/media/src/app.css
+++ b/examples/js/media/src/app.css
@@ -188,16 +188,16 @@ strong {
.previous-hits-message {
margin: 0;
- font-size: .9rem;
+ font-size: 0.9rem;
color: #6e7070;
}
.previous-hits-button {
font-family: inherit;
- font-size: .75rem;
+ font-size: 0.75rem;
font-weight: bold;
margin-left: 1rem;
- padding: .5rem 1rem;
+ padding: 0.5rem 1rem;
color: #6634d1;
background-color: #e6ebf7;
text-transform: uppercase;
diff --git a/examples/js/tourism/index.html b/examples/js/tourism/index.html
index 086657dc93..dc47553afd 100644
--- a/examples/js/tourism/index.html
+++ b/examples/js/tourism/index.html
@@ -24,7 +24,7 @@
-
diff --git a/specs/src/pages/widgets/geo-search.md b/specs/src/pages/widgets/geo-search.md
index 39d4d66ccb..b1f555eb67 100644
--- a/specs/src/pages/widgets/geo-search.md
+++ b/specs/src/pages/widgets/geo-search.md
@@ -66,13 +66,13 @@ options:
default: 1
description: Zoom of the map when no results are found
- name: initialPosition
- default: "{ lat:0, lng:0 }"
+ default: '{ lat:0, lng:0 }'
description: Position of the map when no results are found
- name: paddingBoundingBox
- default: "{ top:0, right:0, bottom:0, left:0 }"
+ default: '{ top:0, right:0, bottom:0, left:0 }'
description: Add an inner padding on the map when you refine
- name: mapOptions
- default: "{}"
+ default: '{}'
description: Option forwarded to the Google Maps constructor
- name: enableClearMapRefinement
default: true
diff --git a/specs/src/pages/widgets/refinement-list.md b/specs/src/pages/widgets/refinement-list.md
index 84d1400087..15d24445eb 100644
--- a/specs/src/pages/widgets/refinement-list.md
+++ b/specs/src/pages/widgets/refinement-list.md
@@ -125,7 +125,7 @@ options:
description: Whether to add a search box to refine this list
- name: operator
default: '"or"'
- description: "How to apply refinements. Possible values: or, and"
+ description: 'How to apply refinements. Possible values: or, and'
- name: limit
default: 10
description: Number of items to show
diff --git a/specs/src/pages/widgets/reverseSnippet.md b/specs/src/pages/widgets/reverseSnippet.md
index f5e0cd61e7..869b97152c 100644
--- a/specs/src/pages/widgets/reverseSnippet.md
+++ b/specs/src/pages/widgets/reverseSnippet.md
@@ -3,7 +3,7 @@ layout: ../../layouts/WidgetLayout.astro
title: ReverseSnippet
type: widget
html: |
- This is the reversed snippet text
+ This is the reversed snippet text
classes:
- name: .ais-ReverseSnippet
description: the root span of the widget
diff --git a/specs/src/pages/widgets/snippet.md b/specs/src/pages/widgets/snippet.md
index f0c1d463b1..a44637535b 100644
--- a/specs/src/pages/widgets/snippet.md
+++ b/specs/src/pages/widgets/snippet.md
@@ -5,12 +5,12 @@ type: widget
html: |
This is the snippet text
classes:
-- name: .ais-Snippet
- description: the root span of the widget
-- name: .ais-Snippet-highlighted
- description: the highlighted text
-- name: .ais-Snippet-nonHighlighted
- description: the normal text
+ - name: .ais-Snippet
+ description: the root span of the widget
+ - name: .ais-Snippet-highlighted
+ description: the highlighted text
+ - name: .ais-Snippet-nonHighlighted
+ description: the normal text
options:
- name: highlightTag
default: em
diff --git a/specs/src/styles/index.scss b/specs/src/styles/index.scss
index 87d5bf1f5a..c22376d060 100644
--- a/specs/src/styles/index.scss
+++ b/specs/src/styles/index.scss
@@ -232,7 +232,7 @@ body {
padding: 20px;
border: 1px solid #ddd;
overflow: auto;
- transition: .2s background-color ease-in-out;
+ transition: 0.2s background-color ease-in-out;
}
.code-output code {
diff --git a/specs/tsconfig.json b/specs/tsconfig.json
index ba6f0857c6..b6e94d237f 100644
--- a/specs/tsconfig.json
+++ b/specs/tsconfig.json
@@ -4,4 +4,4 @@
"jsx": "preserve",
"skipLibCheck": true
}
-}
\ No newline at end of file
+}
diff --git a/tests/common/.eslintrc b/tests/common/.eslintrc
index f2485fca9a..3170b7f1d5 100644
--- a/tests/common/.eslintrc
+++ b/tests/common/.eslintrc
@@ -1,6 +1,6 @@
{
"rules": {
"jest/no-export": "off",
- "no-lone-blocks": "off",
+ "no-lone-blocks": "off"
}
}
diff --git a/tests/e2e/CHANGELOG.md b/tests/e2e/CHANGELOG.md
index 8e4808b1cd..056cf42fc6 100644
--- a/tests/e2e/CHANGELOG.md
+++ b/tests/e2e/CHANGELOG.md
@@ -1,157 +1,103 @@
# Change Log
-All notable changes to this project will be documented in this file.
-See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [4.2.0](https://github.com/algolia/instantsearch/compare/@instantsearch/e2e-tests@4.0.0...@instantsearch/e2e-tests@4.2.0) (2023-08-15)
-
### Bug Fixes
-* **this:** ensure all functions are able to be destructured ([#5611](https://github.com/algolia/instantsearch/issues/5611)) ([a8b5c1e](https://github.com/algolia/instantsearch/commit/a8b5c1e5bbd6afac39fce523f7d7c2ec02f51153)), closes [#5589](https://github.com/algolia/instantsearch/issues/5589)
-
+- **this:** ensure all functions are able to be destructured ([#5611](https://github.com/algolia/instantsearch/issues/5611)) ([a8b5c1e](https://github.com/algolia/instantsearch/commit/a8b5c1e5bbd6afac39fce523f7d7c2ec02f51153)), closes [#5589](https://github.com/algolia/instantsearch/issues/5589)
### Features
-* rename packages ([#5787](https://github.com/algolia/instantsearch/issues/5787)) ([c133170](https://github.com/algolia/instantsearch/commit/c133170e563592dfc15a95daced1f8447327a09a))
-
-
-
-
+- rename packages ([#5787](https://github.com/algolia/instantsearch/issues/5787)) ([c133170](https://github.com/algolia/instantsearch/commit/c133170e563592dfc15a95daced1f8447327a09a))
## [4.0.3](https://github.com/algolia/instantsearch/compare/@instantsearch/e2e-tests@4.0.0...@instantsearch/e2e-tests@4.0.3) (2023-07-25)
-
### Bug Fixes
-* **this:** ensure all functions are able to be destructured ([#5611](https://github.com/algolia/instantsearch/issues/5611)) ([a8b5c1e](https://github.com/algolia/instantsearch/commit/a8b5c1e5bbd6afac39fce523f7d7c2ec02f51153)), closes [#5589](https://github.com/algolia/instantsearch/issues/5589)
-
-
-
-
+- **this:** ensure all functions are able to be destructured ([#5611](https://github.com/algolia/instantsearch/issues/5611)) ([a8b5c1e](https://github.com/algolia/instantsearch/commit/a8b5c1e5bbd6afac39fce523f7d7c2ec02f51153)), closes [#5589](https://github.com/algolia/instantsearch/issues/5589)
## [4.0.2](https://github.com/algolia/instantsearch/compare/@instantsearch/e2e-tests@4.0.0...@instantsearch/e2e-tests@4.0.2) (2023-05-16)
-
### Bug Fixes
-* **this:** ensure all functions are able to be destructured ([#5611](https://github.com/algolia/instantsearch/issues/5611)) ([a8b5c1e](https://github.com/algolia/instantsearch/commit/a8b5c1e5bbd6afac39fce523f7d7c2ec02f51153)), closes [#5589](https://github.com/algolia/instantsearch/issues/5589)
-
-
-
-
+- **this:** ensure all functions are able to be destructured ([#5611](https://github.com/algolia/instantsearch/issues/5611)) ([a8b5c1e](https://github.com/algolia/instantsearch/commit/a8b5c1e5bbd6afac39fce523f7d7c2ec02f51153)), closes [#5589](https://github.com/algolia/instantsearch/issues/5589)
## [4.0.1](https://github.com/algolia/instantsearch/compare/@instantsearch/e2e-tests@4.0.0...@instantsearch/e2e-tests@4.0.1) (2023-01-03)
**Note:** Version bump only for package @instantsearch/e2e-tests
-
-
-
-
# 4.0.0 (2022-12-13)
-
-
### BREAKING CHANGES
-* **tests:** this requires the url to be /examples/js/e-commerce instead of /examples/e-commerce. This means that until the package is in the monorepo, its tests wouldn't pass. After the main monorepo PR is merged, this repo will move inside and will no longer be published.
-* tested projects now require `@wdio/junit-reporter`.
-
-
-
-
+- **tests:** this requires the url to be /examples/js/e-commerce instead of /examples/e-commerce. This means that until the package is in the monorepo, its tests wouldn't pass. After the main monorepo PR is merged, this repo will move inside and will no longer be published.
+- tested projects now require `@wdio/junit-reporter`.
## [3.0.0](https://github.com/algolia/instantsearch-e2e-tests/compare/v2.0.1...v2.0.2) (2022-11-23)
-
### Features
-* **tests:** migrate to the InstantSearch monorepo ([#38](https://github.com/algolia/instantsearch-e2e-tests/issues/38))
+- **tests:** migrate to the InstantSearch monorepo ([#38](https://github.com/algolia/instantsearch-e2e-tests/issues/38))
## [2.0.2](https://github.com/algolia/instantsearch-e2e-tests/compare/v2.0.1...v2.0.2) (2022-02-03)
-
### Bug Fixes
-* **spec:** reduce flakiness related to range slider manipulation ([#33](https://github.com/algolia/instantsearch-e2e-tests/issues/33)) ([a008f38](https://github.com/algolia/instantsearch-e2e-tests/commit/a008f38))
-
-
+- **spec:** reduce flakiness related to range slider manipulation ([#33](https://github.com/algolia/instantsearch-e2e-tests/issues/33)) ([a008f38](https://github.com/algolia/instantsearch-e2e-tests/commit/a008f38))
## [2.0.1](https://github.com/algolia/instantsearch-e2e-tests/compare/v2.0.0...v2.0.1) (2022-01-18)
-
### Bug Fixes
-* correctly output junit report in target repository ([#32](https://github.com/algolia/instantsearch-e2e-tests/issues/32)) ([d3e9e1b](https://github.com/algolia/instantsearch-e2e-tests/commit/d3e9e1b))
-
-
+- correctly output junit report in target repository ([#32](https://github.com/algolia/instantsearch-e2e-tests/issues/32)) ([d3e9e1b](https://github.com/algolia/instantsearch-e2e-tests/commit/d3e9e1b))
# [2.0.0](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.3.0...v2.0.0) (2022-01-17)
-
### Features
-* generate junit test reports by default with saucelabs ([#29](https://github.com/algolia/instantsearch-e2e-tests/issues/29)) ([5f2c0b3](https://github.com/algolia/instantsearch-e2e-tests/commit/5f2c0b3))
-
+- generate junit test reports by default with saucelabs ([#29](https://github.com/algolia/instantsearch-e2e-tests/issues/29)) ([5f2c0b3](https://github.com/algolia/instantsearch-e2e-tests/commit/5f2c0b3))
### BREAKING CHANGES
-* tested projects now require `@wdio/junit-reporter`.
-
-
+- tested projects now require `@wdio/junit-reporter`.
# [1.3.0](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.2.4...v1.3.0) (2020-04-17)
-
### Bug Fixes
-* **spec:** improve specs reliability to minimize flackyness ([#21](https://github.com/algolia/instantsearch-e2e-tests/issues/21)) ([44bae68](https://github.com/algolia/instantsearch-e2e-tests/commit/44bae68))
-* **test:** change InstantSearch.js test branch to `master` ([#19](https://github.com/algolia/instantsearch-e2e-tests/issues/19)) ([1c34d8d](https://github.com/algolia/instantsearch-e2e-tests/commit/1c34d8d))
-
+- **spec:** improve specs reliability to minimize flackyness ([#21](https://github.com/algolia/instantsearch-e2e-tests/issues/21)) ([44bae68](https://github.com/algolia/instantsearch-e2e-tests/commit/44bae68))
+- **test:** change InstantSearch.js test branch to `master` ([#19](https://github.com/algolia/instantsearch-e2e-tests/issues/19)) ([1c34d8d](https://github.com/algolia/instantsearch-e2e-tests/commit/1c34d8d))
### Features
-* **spec:** add custom error messages for timeouts ([#18](https://github.com/algolia/instantsearch-e2e-tests/issues/18)) ([617a22d](https://github.com/algolia/instantsearch-e2e-tests/commit/617a22d))
-* **webdriverio:** add retry for Sauce Connect tunnel ([#17](https://github.com/algolia/instantsearch-e2e-tests/issues/17)) ([9e398c2](https://github.com/algolia/instantsearch-e2e-tests/commit/9e398c2))
-
-
+- **spec:** add custom error messages for timeouts ([#18](https://github.com/algolia/instantsearch-e2e-tests/issues/18)) ([617a22d](https://github.com/algolia/instantsearch-e2e-tests/commit/617a22d))
+- **webdriverio:** add retry for Sauce Connect tunnel ([#17](https://github.com/algolia/instantsearch-e2e-tests/issues/17)) ([9e398c2](https://github.com/algolia/instantsearch-e2e-tests/commit/9e398c2))
## [1.2.4](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.2.3...v1.2.4) (2019-11-26)
-
### Bug Fixes
-* **setSearchBoxValue:** reset searchbox before editing ([#15](https://github.com/algolia/instantsearch-e2e-tests/issues/15)) ([b52ea34](https://github.com/algolia/instantsearch-e2e-tests/commit/b52ea3468594c86168b155bb0fcab1230ff86672)), closes [/app.saucelabs.com/tests/4518f96fdfd447e998786d0ff463658a#54](https://github.com//app.saucelabs.com/tests/4518f96fdfd447e998786d0ff463658a/issues/54)
-
-
+- **setSearchBoxValue:** reset searchbox before editing ([#15](https://github.com/algolia/instantsearch-e2e-tests/issues/15)) ([b52ea34](https://github.com/algolia/instantsearch-e2e-tests/commit/b52ea3468594c86168b155bb0fcab1230ff86672)), closes [/app.saucelabs.com/tests/4518f96fdfd447e998786d0ff463658a#54](https://github.com//app.saucelabs.com/tests/4518f96fdfd447e998786d0ff463658a/issues/54)
## [1.2.3](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.2.2...v1.2.3) (2019-10-14)
-
### Bug Fixes
-* **helper:** fix helpers to handle RangeSlider in vue-instantsearch ([#12](https://github.com/algolia/instantsearch-e2e-tests/issues/12)) ([143a59b](https://github.com/algolia/instantsearch-e2e-tests/commit/143a59b))
-
-
+- **helper:** fix helpers to handle RangeSlider in vue-instantsearch ([#12](https://github.com/algolia/instantsearch-e2e-tests/issues/12)) ([143a59b](https://github.com/algolia/instantsearch-e2e-tests/commit/143a59b))
## [1.2.2](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.2.1...v1.2.2) (2019-09-12)
-
### Bug Fixes
-* **spec:** fix specs to match fixed slider behavior ([#10](https://github.com/algolia/instantsearch-e2e-tests/issues/10)) ([d7bce97](https://github.com/algolia/instantsearch-e2e-tests/commit/d7bce97))
-
-
+- **spec:** fix specs to match fixed slider behavior ([#10](https://github.com/algolia/instantsearch-e2e-tests/issues/10)) ([d7bce97](https://github.com/algolia/instantsearch-e2e-tests/commit/d7bce97))
## [1.2.1](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.2.0...v1.2.1) (2019-09-11)
-
### Bug Fixes
-* **helper:** fix helpers to handle RangeSlider in react-instantsearch ([#9](https://github.com/algolia/instantsearch-e2e-tests/issues/9)) ([c2de700](https://github.com/algolia/instantsearch-e2e-tests/commit/c2de700))
-
-
+- **helper:** fix helpers to handle RangeSlider in react-instantsearch ([#9](https://github.com/algolia/instantsearch-e2e-tests/issues/9)) ([c2de700](https://github.com/algolia/instantsearch-e2e-tests/commit/c2de700))
# [1.2.0](https://github.com/algolia/instantsearch-e2e-tests/compare/v1.1.0...v1.2.0) (2019-09-06)
diff --git a/tests/e2e/README.md b/tests/e2e/README.md
index 793992df93..0ca80003cf 100644
--- a/tests/e2e/README.md
+++ b/tests/e2e/README.md
@@ -80,10 +80,10 @@ exports.config = {
CircleCI can [read JUnit XML test metadata files](https://circleci.com/docs/2.0/collect-test-data/) to provide insights on the stability of the test suite. To enable this feature, you can add the following key to your e2e job in **.circleci/config.yml**:
```yaml
- test_e2e:
+test_e2e:
+ # ...
+ steps:
# ...
- steps:
- # ...
- - store_test_results:
- path: junit/wdio
+ - store_test_results:
+ path: junit/wdio
```
diff --git a/yarn.lock b/yarn.lock
index 86e74bee73..c986d67f74 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -26017,22 +26017,12 @@ prettier-plugin-astro@^0.7.0:
sass-formatter "^0.7.5"
synckit "^0.8.4"
-prettier@1.16.3:
+prettier@1.16.3, prettier@^1.7.0:
version "1.16.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.3.tgz#8c62168453badef702f34b45b6ee899574a6a65d"
integrity sha512-kn/GU6SMRYPxUakNXhpP0EedT/KmaPzr0H5lIsDogrykbaxOpOfAFfk5XA7DZrJyMAv1wlMV3CPcZruGXVVUZw==
-prettier@1.19.1, prettier@^1.7.0:
- version "1.19.1"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
- integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
-
-prettier@2.4.1:
- version "2.4.1"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"
- integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==
-
-"prettier@^1.18.2 || ^2.0.0", prettier@^2.0.0, prettier@^2.7.1:
+"prettier@^1.18.2 || ^2.0.0", prettier@^2.0.0, prettier@^2.4.1, prettier@^2.7.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.1.tgz#4e1fd11c34e2421bc1da9aea9bd8127cd0a35efc"
integrity sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==