Skip to content

Commit 2f644d2

Browse files
fix(specs): consequence is required when saving rules (generated)
algolia/api-clients-automation#4146 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 43a024e commit 2f644d2

File tree

15 files changed

+92
-266
lines changed

15 files changed

+92
-266
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"packages/*"
77
],
88
"scripts": {
9-
"build": "lerna run build --scope '@algolia/requester-testing' --scope '@algolia/logger-console' --scope 'algoliasearch' --scope '@algolia/client-composition' --include-dependencies",
9+
"build": "lerna run build --skip-nx-cache --scope '@algolia/requester-testing' --scope '@algolia/logger-console' --scope 'algoliasearch' --scope '@algolia/client-composition' --include-dependencies",
1010
"clean": "lerna run clean",
1111
"release:publish": "tsc --project scripts/tsconfig.json && node scripts/dist/publish.js",
1212
"test": "lerna run test $*",

packages/algoliasearch/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/lite/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/lite/builds/browser.umd.js',

packages/client-abtesting/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

packages/client-analytics/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

packages/client-composition/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

packages/client-insights/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

packages/client-personalization/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

packages/client-query-suggestions/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

packages/client-search/model/rule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type Rule = {
1818
*/
1919
conditions?: Array<Condition>;
2020

21-
consequence?: Consequence;
21+
consequence: Consequence;
2222

2323
/**
2424
* Description of the rule\'s purpose to help you distinguish between different rules.

packages/client-search/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
input: 'dist/builds/browser.min.js',
44
external: ['dom'],
5+
cache: false,
56
output: {
67
esModule: false,
78
file: 'dist/builds/browser.umd.js',

0 commit comments

Comments
 (0)