mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-05 15:27:20 +02:00
* 🔧 chore: Update `mongodb-memory-server` to v11.0.1
- Bump `mongodb-memory-server` version in `package-lock.json`, `api/package.json`, and `packages/data-schemas/package.json` from 10.1.4 to 11.0.1.
- Update related dependencies in `mongodb-memory-server` and `mongodb-memory-server-core` to ensure compatibility with the new version.
- Adjust `tslib` version in `mongodb-memory-server` to 2.8.1 and `debug` to 4.4.3 for consistency.
* chore: npm audit fix
* chore: Update `mermaid` dependency to version 11.14.0 in `package-lock.json` and `client/package.json`
* fix: use deterministic timestamps in convoStructure test
MongoDB 8.x (from mongodb-memory-server v11) no longer guarantees
insertion-order return for documents with identical timestamps.
Use sequential timestamps with overrideTimestamp to ensure buildTree
processes parents before children.
87 lines
2.4 KiB
JSON
87 lines
2.4 KiB
JSON
{
|
|
"name": "@librechat/data-schemas",
|
|
"version": "0.0.48",
|
|
"description": "Mongoose schemas and models for LibreChat",
|
|
"type": "module",
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.es.js",
|
|
"types": "./dist/types/index.d.ts",
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.es.js",
|
|
"require": "./dist/index.cjs",
|
|
"types": "./dist/types/index.d.ts"
|
|
},
|
|
"./capabilities": {
|
|
"import": "./dist/admin/capabilities.es.js",
|
|
"require": "./dist/admin/capabilities.cjs",
|
|
"types": "./dist/types/admin/capabilities.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build": "npm run clean && rollup -c --silent --bundleConfigAsCjs",
|
|
"build:watch": "rollup -c -w",
|
|
"test": "jest --coverage --watch",
|
|
"test:ci": "jest --coverage --ci",
|
|
"verify": "npm run test:ci",
|
|
"b:clean": "bun run rimraf dist",
|
|
"b:build": "bun run b:clean && bun run rollup -c --silent --bundleConfigAsCjs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/danny-avila/LibreChat"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/danny-avila/LibreChat/issues"
|
|
},
|
|
"homepage": "https://librechat.ai",
|
|
"devDependencies": {
|
|
"@rollup/plugin-alias": "^5.1.0",
|
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@rollup/plugin-terser": "^1.0.0",
|
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
"@types/express": "^5.0.0",
|
|
"@types/jest": "^29.5.2",
|
|
"@types/node": "^20.3.0",
|
|
"jest": "^30.2.0",
|
|
"jest-junit": "^16.0.0",
|
|
"mongodb-memory-server": "^11.0.1",
|
|
"rimraf": "^6.1.3",
|
|
"rollup": "^4.34.9",
|
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
"rollup-plugin-typescript2": "^0.37.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"peerDependencies": {
|
|
"jsonwebtoken": "^9.0.2",
|
|
"klona": "^2.0.6",
|
|
"librechat-data-provider": "*",
|
|
"lodash": "^4.17.23",
|
|
"meilisearch": "^0.38.0",
|
|
"mongoose": "^8.12.1",
|
|
"nanoid": "^3.3.7",
|
|
"winston": "^3.17.0",
|
|
"winston-daily-rotate-file": "^5.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"mongoose",
|
|
"schema",
|
|
"typescript",
|
|
"librechat"
|
|
]
|
|
}
|