Skip to content

Commit 98e618d

Browse files
authored
Merge pull request #1 from nestjs-labs/v11
V11
1 parent f902b3d commit 98e618d

File tree

92 files changed

+2585
-1092
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+2585
-1092
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @liaoliaots
1+
* @nestjs-labs

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
architecture: x64
1818
registry-url: 'https://registry.npmjs.org'
1919
- run: pnpm install --frozen-lockfile
20-
- run: pnpm -F "@liaoliaots/nestjs-redis" run lint
21-
- run: pnpm -F "@liaoliaots/nestjs-redis" run build
20+
- run: pnpm -F "@nestjs-labs/nestjs-redis" run lint
21+
- run: pnpm -F "@nestjs-labs/nestjs-redis" run build
2222
# - run: pnpm -r run publish
2323
# env:
2424
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/testing.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ jobs:
3232
down-flags: '-v'
3333
- run: docker compose exec cluster-m1 redis-cli -a mycluster --cluster create 127.0.0.1:7380 127.0.0.1:7381 127.0.0.1:7382 --cluster-yes
3434
- run: pnpm install --frozen-lockfile
35-
- run: pnpm -F "@liaoliaots/nestjs-redis" run lint
36-
- run: pnpm -F "@liaoliaots/nestjs-redis" run test
37-
- run: pnpm -F "@liaoliaots/nestjs-redis" run test:e2e
35+
- run: pnpm -F "@nestjs-labs/nestjs-redis" run lint
36+
- run: pnpm -F "@nestjs-labs/nestjs-redis" run test
37+
- run: pnpm -F "@nestjs-labs/nestjs-redis" run test:e2e

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![NPM Version](https://img.shields.io/npm/v/%40liaoliaots%2Fnestjs-redis%2Falpha?style=for-the-badge)
1+
![NPM Version](https://img.shields.io/npm/v/%40nestjs-redis%2Fnestjs-redis%2Falpha?style=for-the-badge)
22
[![Downloads][downloads-shield]][downloads-url]
33
[![Stargazers][stars-shield]][stars-url]
44
[![Issues][issues-shield]][issues-url]
@@ -21,9 +21,9 @@
2121
<br />
2222
<a href="/sample">View Demos</a>
2323
·
24-
<a href="https://github.com/liaoliaots/nestjs-redis/issues/new/choose">Report Bug</a>
24+
<a href="https://github.com/nestjs-labs/nestjs-redis/issues/new/choose">Report Bug</a>
2525
·
26-
<a href="https://github.com/liaoliaots/nestjs-redis/issues">Request Feature</a>
26+
<a href="https://github.com/nestjs-labs/nestjs-redis/issues">Request Feature</a>
2727
</p>
2828
</div>
2929

@@ -76,8 +76,8 @@ This lib requires **Node.js >=16.13.0**, **NestJS ^10.0.0**, **ioredis ^5.0.0**.
7676

7777
- If you depend on **ioredis 5** & **NestJS 10**, please use version **10** of the lib.
7878
- If you depend on **ioredis 5** & **NestJS 9**, please use version **9** of the lib.
79-
- If you depend on **ioredis 5**, **NestJS 7** or **8**, please use [version 8](https://github.com/liaoliaots/nestjs-redis/tree/v8.2.2) of the lib.
80-
- If you depend on **ioredis 4**, please use [version 7](https://github.com/liaoliaots/nestjs-redis/tree/v7.0.0) of the lib.
79+
- If you depend on **ioredis 5**, **NestJS 7** or **8**, please use [version 8](https://github.com/nestjs-labs/nestjs-redis/tree/v8.2.2) of the lib.
80+
- If you depend on **ioredis 4**, please use [version 7](https://github.com/nestjs-labs/nestjs-redis/tree/v7.0.0) of the lib.
8181

8282
### Node-Redis
8383

@@ -87,11 +87,11 @@ If you prefre [node-redis](https://github.com/redis/node-redis), check out [this
8787

8888
```sh
8989
# with npm
90-
npm install @liaoliaots/nestjs-redis ioredis
90+
npm install @nestjs-labs/nestjs-redis ioredis
9191
# with yarn
92-
yarn add @liaoliaots/nestjs-redis ioredis
92+
yarn add @nestjs-labs/nestjs-redis ioredis
9393
# with pnpm
94-
pnpm add @liaoliaots/nestjs-redis ioredis
94+
pnpm add @nestjs-labs/nestjs-redis ioredis
9595
```
9696

9797
## Usage
@@ -154,7 +154,7 @@ Examples of code:
154154
```ts
155155
// redis-config.service.ts
156156
import { Injectable } from '@nestjs/common';
157-
import { RedisModuleOptions, RedisOptionsFactory } from '@liaoliaots/nestjs-redis';
157+
import { RedisModuleOptions, RedisOptionsFactory } from '@nestjs-labs/nestjs-redis';
158158

159159
@Injectable()
160160
export class RedisConfigService implements RedisOptionsFactory {
@@ -176,7 +176,7 @@ export class RedisConfigService implements RedisOptionsFactory {
176176
```ts
177177
// app.module.ts
178178
import { Module } from '@nestjs/common';
179-
import { RedisModule } from '@liaoliaots/nestjs-redis';
179+
import { RedisModule } from '@nestjs-labs/nestjs-redis';
180180
import { RedisConfigService } from './redis-config.service';
181181

182182
@Module({
@@ -194,7 +194,7 @@ export class AppModule {}
194194
```ts
195195
// my-redis.module.ts
196196
import { Module } from '@nestjs/common';
197-
import { RedisModule } from '@liaoliaots/nestjs-redis';
197+
import { RedisModule } from '@nestjs-labs/nestjs-redis';
198198
import { RedisConfigService } from './redis-config.service';
199199

200200
@Module({
@@ -243,11 +243,11 @@ Distributed under the MIT License. See `LICENSE` for more information.
243243
- [Official Redis Documentation](https://redis.io/)
244244
- [Official Redis Docker Image](https://hub.docker.com/_/redis)
245245

246-
[downloads-shield]: https://img.shields.io/npm/dm/@liaoliaots/nestjs-redis?style=for-the-badge
247-
[downloads-url]: https://www.npmjs.com/package/@liaoliaots/nestjs-redis
248-
[stars-shield]: https://img.shields.io/github/stars/liaoliaots/nestjs-redis?style=for-the-badge
249-
[stars-url]: https://github.com/liaoliaots/nestjs-redis/stargazers
250-
[issues-shield]: https://img.shields.io/github/issues/liaoliaots/nestjs-redis?style=for-the-badge
251-
[issues-url]: https://github.com/liaoliaots/nestjs-redis/issues
252-
[license-shield]: https://img.shields.io/npm/l/@liaoliaots/nestjs-redis?style=for-the-badge
253-
[license-url]: https://github.com/liaoliaots/nestjs-redis/blob/main/LICENSE
246+
[downloads-shield]: https://img.shields.io/npm/dm/@nestjs-labs/nestjs-redis?style=for-the-badge
247+
[downloads-url]: https://www.npmjs.com/package/@nestjs-labs/nestjs-redis
248+
[stars-shield]: https://img.shields.io/github/stars/nestjs-labs/nestjs-redis?style=for-the-badge
249+
[stars-url]: https://github.com/nestjs-labs/nestjs-redis/stargazers
250+
[issues-shield]: https://img.shields.io/github/issues/nestjs-labs/nestjs-redis?style=for-the-badge
251+
[issues-url]: https://github.com/nestjs-labs/nestjs-redis/issues
252+
[license-shield]: https://img.shields.io/npm/l/@nestjs-labs/nestjs-redis?style=for-the-badge
253+
[license-url]: https://github.com/nestjs-labs/nestjs-redis/blob/main/LICENSE

0 commit comments

Comments
 (0)