Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leibale committed Jan 30, 2023
1 parent 6a5dac2 commit f488ea2
Show file tree
Hide file tree
Showing 8 changed files with 163 additions and 53 deletions.
156 changes: 118 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build:modules": "find ./packages -mindepth 1 -maxdepth 1 -type d ! -name 'client' ! -name 'test-utils' -exec npm run build -w {} \\;",
"build": "tsc",
"build-all": "npm run build:client && npm run build:test-utils && npm run build:modules && npm run build",
"documentation": "npm run documentation -ws --if-present",
"documentation": "typedoc",
"gh-pages": "gh-pages -d ./documentation -e ./documentation -u 'documentation-bot <documentation@bot>'"
},
"dependencies": {
Expand All @@ -34,7 +34,8 @@
"@tsconfig/node14": "^1.0.3",
"gh-pages": "^5.0.0",
"release-it": "^15.6.0",
"typescript": "^4.9.4"
"typedoc": "^0.23.24",
"typescript": "npm:@typescript-deploys/pr-build@5.0.0-pr-52217-7"
},
"repository": {
"type": "git",
Expand Down
33 changes: 33 additions & 0 deletions packages/search/lib/commands/index.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,69 @@
import * as _LIST from './_LIST';
export type { _LIST };
import * as ALTER from './ALTER';
export type { ALTER };
import * as AGGREGATE_WITHCURSOR from './AGGREGATE_WITHCURSOR';
export type { AGGREGATE_WITHCURSOR };
import * as AGGREGATE from './AGGREGATE';
export type { AGGREGATE };
import * as ALIASADD from './ALIASADD';
export type { ALIASADD };
import * as ALIASDEL from './ALIASDEL';
export type { ALIASDEL };
import * as ALIASUPDATE from './ALIASUPDATE';
export type { ALIASUPDATE };
import * as CONFIG_GET from './CONFIG_GET';
export type { CONFIG_GET };
import * as CONFIG_SET from './CONFIG_SET';
export type { CONFIG_SET };
import * as CREATE from './CREATE';
export type { CREATE };
import * as CURSOR_DEL from './CURSOR_DEL';
export type { CURSOR_DEL };
import * as CURSOR_READ from './CURSOR_READ';
export type { CURSOR_READ };
import * as DICTADD from './DICTADD';
export type { DICTADD };
import * as DICTDEL from './DICTDEL';
export type { DICTDEL };
import * as DICTDUMP from './DICTDUMP';
export type { DICTDUMP };
import * as DROPINDEX from './DROPINDEX';
export type { DROPINDEX };
import * as EXPLAIN from './EXPLAIN';
export type { EXPLAIN };
import * as EXPLAINCLI from './EXPLAINCLI';
export type { EXPLAINCLI };
import * as INFO from './INFO';
export type { INFO };
import * as PROFILESEARCH from './PROFILE_SEARCH';
export type { PROFILESEARCH };
import * as PROFILEAGGREGATE from './PROFILE_AGGREGATE';
export type { PROFILEAGGREGATE };
import * as SEARCH from './SEARCH';
export type { SEARCH };
import * as SPELLCHECK from './SPELLCHECK';
export type { SPELLCHECK };
import * as SUGADD from './SUGADD';
export type { SUGADD };
import * as SUGDEL from './SUGDEL';
export type { SUGDEL };
import * as SUGGET_WITHPAYLOADS from './SUGGET_WITHPAYLOADS';
export type { SUGGET_WITHPAYLOADS };
import * as SUGGET_WITHSCORES_WITHPAYLOADS from './SUGGET_WITHSCORES_WITHPAYLOADS';
export type { SUGGET_WITHSCORES_WITHPAYLOADS };
import * as SUGGET_WITHSCORES from './SUGGET_WITHSCORES';
export type { SUGGET_WITHSCORES };
import * as SUGGET from './SUGGET';
export type { SUGGET };
import * as SUGLEN from './SUGLEN';
export type { SUGLEN };
import * as SYNDUMP from './SYNDUMP';
export type { SYNDUMP };
import * as SYNUPDATE from './SYNUPDATE';
export type { SYNUPDATE };
import * as TAGVALS from './TAGVALS';
export type { TAGVALS };
import { RedisCommandArgument, RedisCommandArguments } from '@redis/client/dist/lib/commands';
import { pushOptionalVerdictArgument, pushVerdictArgument } from '@redis/client/dist/lib/commands/generic-transformers';
import { SearchOptions } from './SEARCH';
Expand Down
1 change: 1 addition & 0 deletions packages/search/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { default } from './commands';
export type * from './commands';

export { RediSearchSchema, SchemaFieldTypes, SchemaTextFieldPhonetics, SearchReply, VectorAlgorithms } from './commands';
export { AggregateSteps, AggregateGroupByReducers } from './commands/AGGREGATE';
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"nyc": "^15.1.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"typescript": "npm:@typescript-deploys/pr-build@5.0.0-pr-52217-7",
"yargs": "^17.6.2"
}
}
1 change: 1 addition & 0 deletions packages/time-series/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { default } from './commands';
export type * from './commands';

export {
TimeSeriesDuplicatePolicies,
Expand Down
9 changes: 5 additions & 4 deletions packages/time-series/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
],
"scripts": {
"test": "nyc -r text-summary -r lcov mocha -r source-map-support/register -r ts-node/register './lib/**/*.spec.ts'",
"build": "tsc",
"documentation": "typedoc"
"build": "tsc"
},
"peerDependencies": {
"@redis/client": "^1.0.0"
Expand All @@ -23,7 +22,9 @@
"release-it": "^15.6.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
"typescript": "npm:@typescript-deploys/pr-build@5.0.0-pr-52217-7"
},
"typedoc": {
"entryPoint": "./lib/index.ts"
}
}
9 changes: 1 addition & 8 deletions packages/time-series/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,5 @@
"exclude": [
"./lib/test-utils.ts",
"./lib/**/*.spec.ts"
],
"typedocOptions": {
"entryPoints": [
"./lib"
],
"entryPointStrategy": "expand",
"out": "../../documentation/time-series"
}
]
}

0 comments on commit f488ea2

Please sign in to comment.