Skip to content

Commit 0cabe71

Browse files
committed
replace @redis with @node-redis
1 parent 7fc1d2d commit 0cabe71

29 files changed

+153
-149
lines changed

.github/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ Node Redis is supported with the following versions of Redis:
281281
| Name | Description |
282282
|-------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
283283
| [redis](../) | [![Downloads](https://img.shields.io/npm/dm/redis.svg)](https://www.npmjs.com/package/redis/v/next) [![Version](https://img.shields.io/npm/v/redis/next.svg)](https://www.npmjs.com/package/redis/v/next) |
284-
| [@redis/client](../packages/client) | [![Downloads](https://img.shields.io/npm/dm/@redis/client.svg)](https://www.npmjs.com/package/@redis/client/v/next) [![Version](https://img.shields.io/npm/v/@redis/client/next.svg)](https://www.npmjs.com/package/@redis/client/v/next) |
285-
| [@redis/json](../packages/json) | [![Downloads](https://img.shields.io/npm/dm/@redis/json.svg)](https://www.npmjs.com/package/@redis/json/v/next) [![Version](https://img.shields.io/npm/v/@redis/json/next.svg)](https://www.npmjs.com/package/@redis/json/v/next) [Redis JSON](https://oss.redis.com/redisjson/) commands |
286-
| [@redis/search](../packages/search) | [![Downloads](https://img.shields.io/npm/dm/@redis/search.svg)](https://www.npmjs.com/package/@redis/search/v/next) [![Version](https://img.shields.io/npm/v/@redis/search/next.svg)](https://www.npmjs.com/package/@redis/search/v/next) [Redis Search](https://oss.redis.com/redisearch/) commands |
284+
| [@node-redis/client](../packages/client) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/client.svg)](https://www.npmjs.com/package/@node-redis/client/v/next) [![Version](https://img.shields.io/npm/v/@node-redis/client/next.svg)](https://www.npmjs.com/package/@node-redis/client/v/next) |
285+
| [@node-redis/json](../packages/json) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/json.svg)](https://www.npmjs.com/package/@node-redis/json/v/next) [![Version](https://img.shields.io/npm/v/@node-redis/json/next.svg)](https://www.npmjs.com/package/@node-redis/json/v/next) [Redis JSON](https://oss.redis.com/redisjson/) commands |
286+
| [@node-redis/search](../packages/search) | [![Downloads](https://img.shields.io/npm/dm/@node-redis/search.svg)](https://www.npmjs.com/package/@node-redis/search/v/next) [![Version](https://img.shields.io/npm/v/@node-redis/search/next.svg)](https://www.npmjs.com/package/@node-redis/search/v/next) [Redis Search](https://oss.redis.com/redisearch/) commands |
287287

288288
## Contributing
289289

.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"commitMessage": "Release ${tagName}",
55
"tagAnnotation": "Release ${tagName}"
66
}
7-
}
7+
}

index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { createClient as _createClient, createCluster as _createCluster } from '@redis/client';
2-
import { RedisScripts } from '@redis/client/dist/lib/commands';
3-
import { RedisClientOptions, RedisClientType } from '@redis/client/dist/lib/client';
4-
import { RedisClusterOptions, RedisClusterType } from '@redis/client/dist/lib/cluster';
5-
import RedisJSON from '@redis/json';
6-
import RediSearch from '@redis/search';
1+
import { createClient as _createClient, createCluster as _createCluster } from '@node-redis/client';
2+
import { RedisScripts } from '@node-redis/client/dist/lib/commands';
3+
import { RedisClientOptions, RedisClientType } from '@node-redis/client/dist/lib/client';
4+
import { RedisClusterOptions, RedisClusterType } from '@node-redis/client/dist/lib/cluster';
5+
import RedisJSON from '@node-redis/json';
6+
import RediSearch from '@node-redis/search';
77

8-
export * from '@redis/client';
9-
export * from '@redis/json';
10-
export * from '@redis/search';
8+
export * from '@node-redis/client';
9+
export * from '@node-redis/json';
10+
export * from '@node-redis/search';
1111

1212
const modules = {
1313
json: RedisJSON,

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"build-all": "npm run build:client && npm run build:test-utils && npm run build:modules && npm run build"
1818
},
1919
"dependencies": {
20-
"@redis/client": "^1.0.0-rc",
21-
"@redis/json": "^1.0.0-rc",
22-
"@redis/search": "^1.0.0-rc"
20+
"@node-redis/client": "^1.0.0-rc",
21+
"@node-redis/json": "^1.0.0-rc",
22+
"@node-redis/search": "^1.0.0-rc"
2323
},
2424
"devDependencies": {
2525
"@tsconfig/node12": "^1.0.9",

packages/client/.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"npm": {
88
"publishArgs": ["--access", "public"]
99
}
10-
}
10+
}

packages/client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# @redis/client
1+
# @node-redis/client
22
The sources and docs for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.

packages/client/lib/test-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import TestUtils from '@redis/test-utils';
1+
import TestUtils from '@node-redis/test-utils';
22
import { SinonSpy } from 'sinon';
33
import { promiseTimeout } from './utils';
44

packages/client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@redis/client",
2+
"name": "@node-redis/client",
33
"version": "1.0.0-rc",
44
"license": "MIT",
55
"main": "./dist/index.js",
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"@istanbuljs/nyc-config-typescript": "^1.0.1",
21-
"@redis/test-utils": "*",
21+
"@node-redis/test-utils": "*",
2222
"@types/node": "^16.11.7",
2323
"@types/redis-parser": "^3.0.0",
2424
"@types/sinon": "^10.0.6",

packages/json/.release-it.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"npm": {
88
"publishArgs": ["--access", "public"]
99
}
10-
}
10+
}

0 commit comments

Comments
 (0)