From b8ead883b26cc17e097f81207ec52c7e238b67c7 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 25 Apr 2024 16:25:05 +0200 Subject: [PATCH] fix(redis): expose Redis constructor Closes #205 --- package.json | 7 ++++++- packages/redis/src/index.js | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 46cee28e..c2612ddc 100644 --- a/package.json +++ b/package.json @@ -231,7 +231,12 @@ "commitlint": { "extends": [ "@commitlint/config-conventional" - ] + ], + "rules": { + "body-max-length": [ + 0 + ] + } }, "nano-staged": { "*.{js,ts}": [ diff --git a/packages/redis/src/index.js b/packages/redis/src/index.js index daecaa25..c2d2d3cc 100644 --- a/packages/redis/src/index.js +++ b/packages/redis/src/index.js @@ -71,3 +71,5 @@ class KeyvRedis { } module.exports = KeyvRedis + +module.exports.Redis = Redis