Unverified Commit 8d0fcc22 authored by Niklas Korz's avatar Niklas Korz Committed by GitHub
Browse files

librechat: 0.8.0 -> 0.8.4 (#497688)

parents 3b4e1cfc 58002df6
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -85,6 +85,15 @@ in
            example = 2309;
            description = "The value that will be passed to the PORT environment variable, telling LibreChat what to listen on.";
          };
          LIBRECHAT_LOG_DIR = lib.mkOption {
            type = lib.types.str;
            default = "${cfg.dataDir}/logs";
            defaultText = lib.literalExpression "/var/lib/librechat/logs";
            description = ''
              Logs will be saved into this directory.
              By default it is relative to `services.librechat.dataDir`.
            '';
          };
        };
      };
      example = {
@@ -120,9 +129,11 @@ in
      type = lib.types.submodule {
        freeformType = format.type;
      };
      default = { };
      default = {
        version = "1.2.1";
      };
      example = {
        version = "1.0.8";
        version = "1.2.1";
        cache = true;
        interface = {
          privacyPolicy = {
+2 −4
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ diff --git a/package.json b/package.json
index 2131951..91e4846 100644
--- a/package.json
+++ b/package.json
@@ -114,5 +114,15 @@
@@ -114,5 +114,13 @@
       "admin/",
       "packages/"
     ]
@@ -10,9 +10,7 @@ index 2131951..91e4846 100644
+  "files": [
+    "api",
+    "client/dist",
+    "packages/data-provider",
+    "packages/data-schemas",
+    "packages/mcp"
+    "packages"
+  ],
+  "bin": {
+    "librechat-server": "api/server/index.js"
+0 −26
Original line number Diff line number Diff line
diff --git a/api/config/meiliLogger.js b/api/config/meiliLogger.js
index 195b387..d445e54 100644
--- a/api/config/meiliLogger.js
+++ b/api/config/meiliLogger.js
@@ -2,7 +2,7 @@ const path = require('path');
 const winston = require('winston');
 require('winston-daily-rotate-file');
 
-const logDir = path.join(__dirname, '..', 'logs');
+const logDir = path.join('.', 'logs');
 
 const { NODE_ENV } = process.env;
 
diff --git a/api/config/winston.js b/api/config/winston.js
index 8f51b99..2ebd041 100644
--- a/api/config/winston.js
+++ b/api/config/winston.js
@@ -3,7 +3,7 @@ const winston = require('winston');
 require('winston-daily-rotate-file');
 const { redactFormat, redactMessage, debugTraverse, jsonTruncateFormat } = require('./parsers');
 
-const logDir = path.join(__dirname, '..', 'logs');
+const logDir = path.join('.', 'logs');
 
 const { NODE_ENV, DEBUG_LOGGING = true, DEBUG_CONSOLE = false, CONSOLE_JSON = false } = process.env;
 
 No newline at end of file
+0 −68
Original line number Diff line number Diff line
diff --git a/client/package.json b/client/package.json
index f96aefa2d..ef3050f72 100644
--- a/client/package.json
+++ b/client/package.json
@@ -121,7 +121,7 @@
     "@tanstack/react-query-devtools": "^4.29.0",
     "@testing-library/dom": "^9.3.0",
     "@testing-library/jest-dom": "^5.16.5",
-    "@testing-library/react": "^14.0.0",
+    "@testing-library/react": "^14.3.1",
     "@testing-library/user-event": "^14.4.3",
     "@types/jest": "^29.5.14",
     "@types/js-cookie": "^3.0.6",
diff --git a/package-lock.json b/package-lock.json
index 5b484fd55..7cbc13f49 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -20,6 +20,7 @@
         "@eslint/js": "^9.20.0",
         "@microsoft/eslint-formatter-sarif": "^3.1.0",
         "@playwright/test": "^1.50.1",
+        "@testing-library/react": "^14.3.1",
         "@types/react-virtualized": "^9.22.0",
         "caniuse-lite": "^1.0.30001741",
         "cross-env": "^7.0.3",
@@ -2718,7 +2719,7 @@
         "@tanstack/react-query-devtools": "^4.29.0",
         "@testing-library/dom": "^9.3.0",
         "@testing-library/jest-dom": "^5.16.5",
-        "@testing-library/react": "^14.0.0",
+        "@testing-library/react": "^14.3.1",
         "@testing-library/user-event": "^14.4.3",
         "@types/jest": "^29.5.14",
         "@types/js-cookie": "^3.0.6",
@@ -51744,7 +51745,7 @@
         "@rollup/plugin-replace": "^5.0.5",
         "@rollup/plugin-terser": "^0.4.4",
         "@tanstack/react-query": "^4.28.0",
-        "@testing-library/react": "^14.0.0",
+        "@testing-library/react": "^16.3.0",
         "@types/react": "^18.2.11",
         "@types/react-dom": "^18.2.4",
         "caniuse-lite": "^1.0.30001741",
diff --git a/package.json b/package.json
index 693de111d..5e58ab1f0 100644
--- a/package.json
+++ b/package.json
@@ -99,6 +99,7 @@
     "@eslint/js": "^9.20.0",
     "@microsoft/eslint-formatter-sarif": "^3.1.0",
     "@playwright/test": "^1.50.1",
+    "@testing-library/react": "^14.3.1",
     "@types/react-virtualized": "^9.22.0",
     "caniuse-lite": "^1.0.30001741",
     "cross-env": "^7.0.3",
diff --git a/packages/client/package.json b/packages/client/package.json
index 71aac0c29..ab6fabca1 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -75,7 +75,7 @@
     "@rollup/plugin-replace": "^5.0.5",
     "@rollup/plugin-terser": "^0.4.4",
     "@tanstack/react-query": "^4.28.0",
-    "@testing-library/react": "^14.0.0",
+    "@testing-library/react": "^16.3.0",
     "@types/react": "^18.2.11",
     "@types/react-dom": "^18.2.4",
     "caniuse-lite": "^1.0.30001741",
Loading