fix(core): declare moved deps (redis, pdf-parse, mammoth, jszip) in @cio/core

These were used by the redis client and document-parsing services that moved
from apps/api into packages/core, but the dependencies stayed in apps/api,
breaking the @cio/core build with TS2307 module-not-found errors. Move them
(and @types/pdf-parse) to where the code now lives.
This commit is contained in:
Rotimi Best
2026-06-07 18:50:06 +01:00
parent d5b07d356e
commit fa6ca75f67
3 changed files with 20 additions and 20 deletions
-5
View File
@@ -64,20 +64,15 @@
"hono-openapi": "^1.0.8",
"hono-rate-limiter": "^0.4.2",
"isomorphic-dompurify": "^3.7.1",
"jszip": "^3.10.1",
"katex": "^0.16.10",
"mammoth": "^1.9.0",
"marked": "^7.0.3",
"nanoid": "^5.1.5",
"pdf-parse": "^1.1.1",
"redis": "^4.7.0",
"zod": "^4.1.8",
"zod-openapi": "^5.4.1"
},
"devDependencies": {
"@types/katex": "^0.16.7",
"@types/node": "^20.19.0",
"@types/pdf-parse": "^1.1.5",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"@vitest/coverage-v8": "^1.2.2",
+5
View File
@@ -49,11 +49,16 @@
"drizzle-orm": "^0.44.7",
"ioredis": "^5.4.1",
"isomorphic-dompurify": "^3.7.1",
"jszip": "^3.10.1",
"mammoth": "^1.9.0",
"nanoid": "^5.1.5",
"pdf-parse": "^1.1.1",
"redis": "^4.7.0",
"zod": "^4.2.1"
},
"devDependencies": {
"@types/node": "^20.19.0",
"@types/pdf-parse": "^1.1.5",
"tsc-alias": "^1.8.16",
"tsx": "^4.7.1",
"typescript": "^5.5.2"
+15 -15
View File
@@ -135,27 +135,15 @@ importers:
isomorphic-dompurify:
specifier: ^3.7.1
version: 3.7.1(@noble/hashes@2.0.1)
jszip:
specifier: ^3.10.1
version: 3.10.1
katex:
specifier: ^0.16.10
version: 0.16.27
mammoth:
specifier: ^1.9.0
version: 1.12.0
marked:
specifier: ^7.0.3
version: 7.0.5
nanoid:
specifier: ^5.1.5
version: 5.1.6
pdf-parse:
specifier: ^1.1.1
version: 1.1.4
redis:
specifier: ^4.7.0
version: 4.7.1
zod:
specifier: 4.2.1
version: 4.2.1
@@ -169,9 +157,6 @@ importers:
'@types/node':
specifier: ^20.19.0
version: 20.19.27
'@types/pdf-parse':
specifier: ^1.1.5
version: 1.1.5
'@typescript-eslint/eslint-plugin':
specifier: 7.0.1
version: 7.0.1(@typescript-eslint/parser@7.0.1(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)
@@ -1016,9 +1001,21 @@ importers:
isomorphic-dompurify:
specifier: ^3.7.1
version: 3.7.1(@noble/hashes@2.0.1)
jszip:
specifier: ^3.10.1
version: 3.10.1
mammoth:
specifier: ^1.9.0
version: 1.12.0
nanoid:
specifier: ^5.1.5
version: 5.1.6
pdf-parse:
specifier: ^1.1.1
version: 1.1.4
redis:
specifier: ^4.7.0
version: 4.7.1
zod:
specifier: 4.2.1
version: 4.2.1
@@ -1026,6 +1023,9 @@ importers:
'@types/node':
specifier: ^20.19.0
version: 20.19.27
'@types/pdf-parse':
specifier: ^1.1.5
version: 1.1.5
tsc-alias:
specifier: ^1.8.16
version: 1.8.16