feat(redis-client.provider.ts): add multi client
service can can use multi client
正在显示
package-lock.json
deleted
100644 → 0
... | @@ -12,16 +12,26 @@ | ... | @@ -12,16 +12,26 @@ |
"build": "rm -rf dist && tsc -p tsconfig.json", | "build": "rm -rf dist && tsc -p tsconfig.json", | ||
"precommit": "lint-staged", | "precommit": "lint-staged", | ||
"prepublish:npm": "yarn run build", | "prepublish:npm": "yarn run build", | ||
"publish:npm": "yarn publish --access public" | "publish:npm": "yarn publish --access public", | ||
"test": "jest", | |||
"test:watch": "jest --watch", | |||
"test:cov": "jest --coverage", | |||
"test:e2e": "jest --config ./test/jest-e2e.json" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@nestjs/common": "^5.1.0", | "@nestjs/common": "^5.1.0", | ||
"ioredis": "^4.2.0", | "ioredis": "^4.2.0", | ||
"rxjs": "^6.2.2" | "rxjs": "^6.2.2", | ||
"uuid": "^3.3.2" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@nestjs/testing": "^5.5.0", | |||
"@types/ioredis": "^4.0.4", | "@types/ioredis": "^4.0.4", | ||
"@types/node": "^10.7.1", | "@types/node": "^10.7.1", | ||
"@types/uuid": "^3.4.4", | |||
"cz-conventional-changelog": "^2.1.0", | |||
"jest": "^23.6.0", | |||
"ts-jest": "^23.10.5", | |||
"typescript": "^2.4.2" | "typescript": "^2.4.2" | ||
}, | }, | ||
"keywords": [ | "keywords": [ | ||
... | @@ -29,5 +39,10 @@ | ... | @@ -29,5 +39,10 @@ |
"nest", | "nest", | ||
"redis", | "redis", | ||
"nestjs-redis" | "nestjs-redis" | ||
] | ], | ||
"config": { | |||
"commitizen": { | |||
"path": "./node_modules/cz-conventional-changelog" | |||
} | |||
} | |||
} | } |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
请
注册
或者
登录
后发表评论