Skip to content

Commit 2d8c0f0

Browse files
committed
getting ready for a beta release :)
1 parent a5a4cb4 commit 2d8c0f0

File tree

12 files changed

+192
-197
lines changed

12 files changed

+192
-197
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ node_modules/
77
.DS_Store
88
dump.rdb
99
documentation/
10+
tsconfig.tsbuildinfo

package-lock.json

Lines changed: 166 additions & 165 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"scripts": {
88
"test": "npm run test -ws --if-present",
9-
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsc --build",
9+
"build": "NODE_OPTIONS='--max-old-space-size=4096' tsc --build",
1010
"documentation": "typedoc",
1111
"gh-pages": "gh-pages -d ./documentation -e ./documentation -u 'documentation-bot <documentation@bot>'"
1212
},

packages/client/.npmignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/graph/lib/commands/QUERY.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type QueryRawReply = TuplesReply<[
1414
metadata: Metadata
1515
]>;
1616

17-
type QueryParam = null | RedisArgument | number | boolean | QueryParams | Array<QueryParam>;
17+
type QueryParam = null | string | number | boolean | QueryParams | Array<QueryParam>;
1818

1919
type QueryParams = {
2020
[key: string]: QueryParam;

packages/redis/tsconfig.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,18 @@
55
},
66
"include": [
77
"./index.ts"
8-
]
8+
],
9+
"references": [{
10+
"path": "./packages/client"
11+
}, {
12+
"path": "./packages/bloom"
13+
}, {
14+
"path": "./packages/graph"
15+
}, {
16+
"path": "./packages/json"
17+
}, {
18+
"path": "./packages/search"
19+
}, {
20+
"path": "./packages/time-series"
21+
}]
922
}

packages/search/lib/commands/AGGREGATE.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { strict as assert } from 'node:assert';
22
import testUtils, { GLOBAL } from '../test-utils';
33
import AGGREGATE from './AGGREGATE';
4-
// import { SchemaFieldTypes } from '.';
54

65
describe('AGGREGATE', () => {
76
describe('transformArguments', () => {

packages/search/lib/commands/AGGREGATE.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,15 @@ export default {
194194
break;
195195

196196
case FT_AGGREGATE_STEPS.APPLY:
197-
args.push('APPLY', step.expression, 'AS', step.AS);
197+
args.push(step.expression, 'AS', step.AS);
198198
break;
199199

200200
case FT_AGGREGATE_STEPS.LIMIT:
201-
args.push('LIMIT', step.from.toString(), step.size.toString());
201+
args.push(step.from.toString(), step.size.toString());
202202
break;
203203

204204
case FT_AGGREGATE_STEPS.FILTER:
205-
args.push('FILTER', step.expression);
205+
args.push(step.expression);
206206
break;
207207
}
208208
}

packages/search/lib/commands/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ import SUGLEN from './SUGLEN';
3232
import SYNDUMP from './SYNDUMP';
3333
import SYNUPDATE from './SYNUPDATE';
3434
import TAGVALS from './TAGVALS';
35-
import { RedisArgument } from '@redis/client';
36-
// import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
37-
// import { pushOptionalVariadicArgument, pushVariadicArgument } from '@redis/client/dist/lib/commands/generic-transformers';
38-
// import { SearchOptions } from './SEARCH';
39-
// import { CommandArguments } from '@redis/client/dist/lib/RESP/types';
4035

4136
export default {
4237
_LIST,

packages/test-utils/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
},
66
"include": [
77
"./lib/**/*.ts"
8-
]
8+
],
9+
"references": [{
10+
"path": "../client"
11+
}]
912
}

packages/time-series/.npmignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"files": [],
23
"references": [{
34
"path": "./packages/client"
45
}, {
@@ -13,7 +14,5 @@
1314
"path": "./packages/search"
1415
}, {
1516
"path": "./packages/time-series"
16-
}, {
17-
"path": "./packages/redis"
1817
}]
19-
}
18+
}

0 commit comments

Comments
 (0)