Phase 1-2 of server consolidation + security hardening

This commit is contained in:
2026-05-23 17:27:22 -04:00
parent 36f23b527e
commit 1ab14ba45f
46 changed files with 1103 additions and 6826 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"name": "@inventory/shared",
"version": "1.0.0",
"description": "Shared modules used by inventory-server, auth-server, dashboard-server, and acot-server",
"type": "module",
"private": true,
"exports": {
"./auth/middleware": "./auth/middleware.js",
"./auth/verify": "./auth/verify.js",
"./db/pg": "./db/pg.js",
"./db/redis": "./db/redis.js",
"./logging/logger": "./logging/logger.js",
"./logging/request-log": "./logging/request-log.js",
"./logging": "./logging/index.js",
"./errors/handler": "./errors/handler.js",
"./cors/policy": "./cors/policy.js",
"./rate-limit/login": "./rate-limit/login.js"
},
"dependencies": {
"cors": "^2.8.5",
"express-rate-limit": "^7.4.0",
"ioredis": "^5.4.0",
"jsonwebtoken": "^9.0.2",
"pg": "^8.11.3",
"pino": "^9.5.0",
"pino-http": "^10.3.0"
}
}