File tree 15 files changed +1109
-945
lines changed
15 files changed +1109
-945
lines changed Original file line number Diff line number Diff line change 19
19
run : npm ci
20
20
- name : Generate Documentation
21
21
run : npm run documentation
22
- - name : Upload Documentation to Wiki
23
- uses : SwiftDocOrg/github-wiki-publish-action@v1
24
- with :
25
- path : documentation
26
- env :
27
- GH_PERSONAL_ACCESS_TOKEN : ${{ secrets.BOT_PERSONAL_ACCESS_TOKEN }}
22
+ - name : Upload
23
+ run : npm run gh-pages
Original file line number Diff line number Diff line change 6
6
node_modules /
7
7
.DS_Store
8
8
dump.rdb
9
+ documentation /
Original file line number Diff line number Diff line change @@ -307,12 +307,12 @@ Node Redis is supported with the following versions of Redis:
307
307
308
308
## Packages
309
309
310
- | Name | Description |
311
- | -----------------------------------------| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
312
- | [ redis] ( ./ ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/redis.svg )] ( https://www.npmjs.com/package/redis ) [ ![ Version] ( https://img.shields.io/npm/v/redis.svg )] ( https://www.npmjs.com/package/redis ) |
313
- | [ @node-redis/client ] ( ./packages/client ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/@node-redis/client.svg )] ( https://www.npmjs.com/package/@node-redis/client ) [ ![ Version] ( https://img.shields.io/npm/v/@node-redis/client.svg )] ( https://www.npmjs.com/package/@node-redis/client ) |
314
- | [ @node-redis/json ] ( ./packages/json ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/@node-redis/json.svg )] ( https://www.npmjs.com/package/@node-redis/json ) [ ![ Version] ( https://img.shields.io/npm/v/@node-redis/json.svg )] ( https://www.npmjs.com/package/@node-redis/json ) [ Redis JSON] ( https://oss.redis.com/redisjson/ ) commands |
315
- | [ @node-redis/search ] ( ./packages/search ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/@node-redis/search.svg )] ( https://www.npmjs.com/package/@node-redis/search ) [ ![ Version] ( https://img.shields.io/npm/v/@node-redis/search.svg )] ( https://www.npmjs.com/package/@node-redis/search ) [ Redis Search] ( https://oss.redis.com/redisearch/ ) commands |
310
+ | Name | Description |
311
+ | -----------------------------------------| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
312
+ | [ redis] ( ./ ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/redis.svg )] ( https://www.npmjs.com/package/redis ) [ ![ Version] ( https://img.shields.io/npm/v/redis.svg )] ( https://www.npmjs.com/package/redis ) |
313
+ | [ @node-redis/client ] ( ./packages/client ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/@node-redis/client.svg )] ( https://www.npmjs.com/package/@node-redis/client ) [ ![ Version] ( https://img.shields.io/npm/v/@node-redis/client.svg )] ( https://www.npmjs.com/package/@node-redis/client ) [ ![ Docs ] ( https://img.shields.io/badge/-documentation-dc382c )] ( https://redis.js.org/documentation/client/ ) |
314
+ | [ @node-redis/json ] ( ./packages/json ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/@node-redis/json.svg )] ( https://www.npmjs.com/package/@node-redis/json ) [ ![ Version] ( https://img.shields.io/npm/v/@node-redis/json.svg )] ( https://www.npmjs.com/package/@node-redis/json ) [ ![ Docs ] ( https://img.shields.io/badge/-documentation-dc382c )] ( https://redis.js.org/documentation/json/ ) [ Redis JSON] ( https://oss.redis.com/redisjson/ ) commands |
315
+ | [ @node-redis/search ] ( ./packages/search ) | [ ![ Downloads] ( https://img.shields.io/npm/dm/@node-redis/search.svg )] ( https://www.npmjs.com/package/@node-redis/search ) [ ![ Version] ( https://img.shields.io/npm/v/@node-redis/search.svg )] ( https://www.npmjs.com/package/@node-redis/search ) [ ![ Docs ] ( https://img.shields.io/badge/-documentation-dc382c )] ( https://redis.js.org/documentation/search/ ) [ Redis Search] ( https://oss.redis.com/redisearch/ ) commands |
316
316
317
317
## Contributing
318
318
Original file line number Diff line number Diff line change 15
15
"build:tests-tools" : " npm run build:client && npm run build:test-utils" ,
16
16
"build:modules" : " find ./packages -mindepth 1 -maxdepth 1 -type d ! -name 'client' ! -name 'test-utils' -exec npm run build -w {} \\ ;" ,
17
17
"build" : " tsc" ,
18
- "build-all" : " npm run build:client && npm run build:test-utils && npm run build:modules && npm run build"
18
+ "build-all" : " npm run build:client && npm run build:test-utils && npm run build:modules && npm run build" ,
19
+ "documentation" : " npm run documentation -ws --if-present" ,
20
+ "gh-pages" : " gh-pages -d ./documentation -e ./documentation"
19
21
},
20
22
"dependencies" : {
21
23
"@node-redis/client" : " ^1.0.0" ,
24
26
},
25
27
"devDependencies" : {
26
28
"@tsconfig/node12" : " ^1.0.9" ,
29
+ "gh-pages" : " ^3.2.3" ,
27
30
"release-it" : " ^14.11.8" ,
28
- "typescript" : " ^4.5.2"
31
+ "typedoc" : " ^0.22.10" ,
32
+ "typescript" : " ^4.5.3"
29
33
},
30
34
"repository" : {
31
35
"type" : " git" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 17
17
"yallist" : " 4.0.0"
18
18
},
19
19
"devDependencies" : {
20
- "@istanbuljs/nyc-config-typescript" : " ^1.0.1 " ,
20
+ "@istanbuljs/nyc-config-typescript" : " ^1.0.2 " ,
21
21
"@node-redis/test-utils" : " *" ,
22
- "@types/node" : " ^16.11.10 " ,
22
+ "@types/node" : " ^16.11.12 " ,
23
23
"@types/redis-parser" : " ^3.0.0" ,
24
24
"@types/sinon" : " ^10.0.6" ,
25
25
"@types/yallist" : " ^4.0.1" ,
26
- "@typescript-eslint/eslint-plugin" : " ^5.4 .0" ,
27
- "@typescript-eslint/parser" : " ^5.4 .0" ,
28
- "eslint" : " ^8.3.0 " ,
26
+ "@typescript-eslint/eslint-plugin" : " ^5.7 .0" ,
27
+ "@typescript-eslint/parser" : " ^5.7 .0" ,
28
+ "eslint" : " ^8.4.1 " ,
29
29
"nyc" : " ^15.1.0" ,
30
30
"release-it" : " ^14.11.8" ,
31
31
"sinon" : " ^12.0.1" ,
32
32
"source-map-support" : " ^0.5.21" ,
33
33
"ts-node" : " ^10.4.0" ,
34
34
"typedoc" : " ^0.22.10" ,
35
- "typedoc-github-wiki-theme" : " ^0.6.0" ,
36
- "typedoc-plugin-markdown" : " ^3.11.7" ,
37
- "typescript" : " ^4.5.2"
35
+ "typescript" : " ^4.5.3"
38
36
},
39
37
"engines" : {
40
38
"node" : " >=12"
Original file line number Diff line number Diff line change 21
21
" ./lib/ts-declarations" ,
22
22
" ./lib/test-utils.ts"
23
23
],
24
- "theme" : " ./node_modules/typedoc-github-wiki-theme/dist" ,
25
- "out" : " documentation"
24
+ "out" : " ../../documentation/client"
26
25
}
27
26
}
Original file line number Diff line number Diff line change 6
6
"types" : " ./dist/index.d.ts" ,
7
7
"scripts" : {
8
8
"test" : " nyc -r text-summary -r lcov mocha -r source-map-support/register -r ts-node/register './lib/**/*.spec.ts'" ,
9
- "build" : " tsc"
9
+ "build" : " tsc" ,
10
+ "documentation" : " typedoc"
10
11
},
11
12
"peerDependencies" : {
12
13
"@node-redis/client" : " ^1.0.0"
13
14
},
14
15
"devDependencies" : {
15
- "@istanbuljs/nyc-config-typescript" : " ^1.0.1 " ,
16
+ "@istanbuljs/nyc-config-typescript" : " ^1.0.2 " ,
16
17
"@node-redis/test-utils" : " *" ,
17
- "@types/node" : " ^16.11.10 " ,
18
+ "@types/node" : " ^16.11.12 " ,
18
19
"nyc" : " ^15.1.0" ,
19
20
"release-it" : " ^14.11.8" ,
20
21
"source-map-support" : " ^0.5.21" ,
21
22
"ts-node" : " ^10.4.0" ,
22
- "typescript" : " ^4.5.2"
23
+ "typedoc" : " ^0.22.10" ,
24
+ "typescript" : " ^4.5.3"
23
25
}
24
26
}
Original file line number Diff line number Diff line change 5
5
},
6
6
"include" : [
7
7
" ./lib/**/*.ts"
8
- ]
8
+ ],
9
+ "typedocOptions" : {
10
+ "entryPoints" : [
11
+ " ./lib"
12
+ ],
13
+ "entryPointStrategy" : " expand" ,
14
+ "exclude" : [
15
+ " ./lib/test-utils.ts" ,
16
+ " ./lib/**/*.spec.ts"
17
+ ],
18
+ "out" : " ../../documentation/json"
19
+ }
9
20
}
Original file line number Diff line number Diff line change 6
6
"types" : " ./dist/index.d.ts" ,
7
7
"scripts" : {
8
8
"test" : " nyc -r text-summary -r lcov mocha -r source-map-support/register -r ts-node/register './lib/**/*.spec.ts'" ,
9
- "build" : " tsc"
9
+ "build" : " tsc" ,
10
+ "documentation" : " typedoc"
10
11
},
11
12
"peerDependencies" : {
12
13
"@node-redis/client" : " ^1.0.0"
13
14
},
14
15
"devDependencies" : {
15
- "@istanbuljs/nyc-config-typescript" : " ^1.0.1 " ,
16
+ "@istanbuljs/nyc-config-typescript" : " ^1.0.2 " ,
16
17
"@node-redis/test-utils" : " *" ,
17
- "@types/node" : " ^16.11.10 " ,
18
+ "@types/node" : " ^16.11.12 " ,
18
19
"nyc" : " ^15.1.0" ,
19
20
"release-it" : " ^14.11.8" ,
20
21
"source-map-support" : " ^0.5.21" ,
21
22
"ts-node" : " ^10.4.0" ,
22
- "typescript" : " ^4.5.2"
23
+ "typedoc" : " ^0.22.10" ,
24
+ "typescript" : " ^4.5.3"
23
25
}
24
26
}
Original file line number Diff line number Diff line change 5
5
},
6
6
"include" : [
7
7
" ./lib/**/*.ts"
8
- ]
8
+ ],
9
+ "typedocOptions" : {
10
+ "entryPoints" : [
11
+ " ./lib"
12
+ ],
13
+ "entryPointStrategy" : " expand" ,
14
+ "exclude" : [
15
+ " ./lib/test-utils.ts" ,
16
+ " ./lib/**/*.spec.ts"
17
+ ],
18
+ "out" : " ../../documentation/search"
19
+ }
9
20
}
Original file line number Diff line number Diff line change 10
10
"@node-redis/client" : " ^1.0.0"
11
11
},
12
12
"devDependencies" : {
13
- "@istanbuljs/nyc-config-typescript" : " ^1.0.1 " ,
13
+ "@istanbuljs/nyc-config-typescript" : " ^1.0.2 " ,
14
14
"@types/mocha" : " ^9.0.0" ,
15
- "@types/node" : " ^16.11.10 " ,
15
+ "@types/node" : " ^16.11.12 " ,
16
16
"@types/yargs" : " ^17.0.7" ,
17
17
"mocha" : " ^9.1.3" ,
18
18
"nyc" : " ^15.1.0" ,
19
19
"release-it" : " ^14.11.8" ,
20
20
"source-map-support" : " ^0.5.21" ,
21
21
"ts-node" : " ^10.4.0" ,
22
- "typescript" : " ^4.5.2 " ,
23
- "yargs" : " ^17.2.1 "
22
+ "typescript" : " ^4.5.3 " ,
23
+ "yargs" : " ^17.3.0 "
24
24
}
25
25
}
Original file line number Diff line number Diff line change 6
6
"types" : " ./dist/index.d.ts" ,
7
7
"scripts" : {
8
8
"test" : " nyc -r text-summary -r lcov mocha -r source-map-support/register -r ts-node/register './lib/**/*.spec.ts'" ,
9
- "build" : " tsc"
9
+ "build" : " tsc" ,
10
+ "documentation" : " typedoc"
10
11
},
11
12
"peerDependencies" : {
12
13
"@node-redis/client" : " ^1.0.0"
13
14
},
14
15
"devDependencies" : {
15
- "@istanbuljs/nyc-config-typescript" : " ^1.0.1 " ,
16
+ "@istanbuljs/nyc-config-typescript" : " ^1.0.2 " ,
16
17
"@node-redis/test-utils" : " *" ,
17
- "@types/node" : " ^16.11.7 " ,
18
+ "@types/node" : " ^16.11.12 " ,
18
19
"nyc" : " ^15.1.0" ,
19
- "release-it" : " ^14.11.7 " ,
20
- "source-map-support" : " ^0.5.20 " ,
20
+ "release-it" : " ^14.11.8 " ,
21
+ "source-map-support" : " ^0.5.21 " ,
21
22
"ts-node" : " ^10.4.0" ,
22
- "typescript" : " ^4.4.4"
23
+ "typedoc" : " ^0.22.10" ,
24
+ "typescript" : " ^4.5.3"
23
25
}
24
26
}
Original file line number Diff line number Diff line change 5
5
},
6
6
"include" : [
7
7
" ./lib/**/*.ts"
8
- ]
8
+ ],
9
+ "typedocOptions" : {
10
+ "entryPoints" : [
11
+ " ./lib"
12
+ ],
13
+ "entryPointStrategy" : " expand" ,
14
+ "exclude" : [
15
+ " ./lib/test-utils.ts" ,
16
+ " ./lib/**/*.spec.ts"
17
+ ],
18
+ "out" : " ../../documentation/time-series"
19
+ }
9
20
}
You can’t perform that action at this time.
0 commit comments