fix: move undici to production dependencies
Some checks failed
CI / Lint, Typecheck, Test & Build (push) Has been cancelled

undici was in devDependencies, causing MODULE_NOT_FOUND crash in
production where only prod deps are installed. Move to dependencies
since emex.service.ts imports ProxyAgent at the top level.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 11:45:50 +00:00
parent 016860c68a
commit 66f30a475c
2 changed files with 4 additions and 4 deletions

View File

@@ -56,6 +56,7 @@
"postgres": "^3.4.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.0",
"undici": "^7.22.0",
"zod": "^3.24.0"
},
"devDependencies": {
@@ -70,7 +71,6 @@
"playwright": "^1.50.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"undici": "^7.22.0",
"vitest": "^3.0.0"
}
}

6
pnpm-lock.yaml generated
View File

@@ -129,6 +129,9 @@ importers:
rxjs:
specifier: ^7.8.0
version: 7.8.2
undici:
specifier: ^7.22.0
version: 7.22.0
zod:
specifier: ^3.24.0
version: 3.25.76
@@ -166,9 +169,6 @@ importers:
typescript:
specifier: ^5.7.0
version: 5.9.3
undici:
specifier: ^7.22.0
version: 7.22.0
vitest:
specifier: ^3.0.0
version: 3.2.4(@types/node@22.19.11)(jiti@2.6.1)(jsdom@28.0.0(@noble/hashes@2.0.1))(lightningcss@1.30.2)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)