fix: use more maintained fork of keyv

This commit is contained in:
Kilian Decaderincourt 2021-09-10 17:35:58 +02:00
parent 4f8fdc8f62
commit c3858e9466
3 changed files with 2216 additions and 762 deletions

View File

@ -12,6 +12,6 @@ It can be used with [kiliandeca/excalidraw-fork](https://gitlab.com/kiliandeca/e
| --------------- | ------------------------------------------------------------ | ---------------- | | --------------- | ------------------------------------------------------------ | ---------------- |
| `PORT` | Server listening port | 8080 | | `PORT` | Server listening port | 8080 |
| `GLOBAL_PREFIX` | API global prefix for every routes | `/api/v2` | | `GLOBAL_PREFIX` | API global prefix for every routes | `/api/v2` |
| `STORAGE_URI` | [Keyv](https://github.com/lukechilds/keyv) connection string | `""` (in memory) | | `STORAGE_URI` | [Keyv](hhttps://github.com/microlinkhq/keyv) connection string | `""` (in memory) |
Availabe Keyv storage adapter: redis, mongo, postgres and mysql Availabe Keyv storage adapter: redis, mongo, sqlite, postgres and mysql

2962
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,15 +21,15 @@
"test:e2e": "jest --config ./test/jest-e2e.json" "test:e2e": "jest --config ./test/jest-e2e.json"
}, },
"dependencies": { "dependencies": {
"@keyv/mongo": "^1.1.0", "@keyvhq/core": "^1.3.0",
"@keyv/mysql": "^1.1.4", "@keyvhq/mongo": "^1.3.0",
"@keyv/postgres": "^1.0.16", "@keyvhq/mysql": "^1.3.0",
"@keyv/redis": "^2.1.2", "@keyvhq/postgres": "^1.3.0",
"@keyvhq/redis": "^1.3.0",
"@keyvhq/sqlite": "^1.3.0",
"@nestjs/common": "^8.0.0", "@nestjs/common": "^8.0.0",
"@nestjs/core": "^8.0.0", "@nestjs/core": "^8.0.0",
"@nestjs/platform-express": "^8.0.0", "@nestjs/platform-express": "^8.0.0",
"@types/keyv": "^3.1.3",
"keyv": "^4.0.3",
"nanoid": "^3.1.25", "nanoid": "^3.1.25",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",