Migrate configuration validation and core moderation types from individual services to the `@bete/shared` package to ensure consistency across the monorepo. - Move `AppConfig` and moderation-related interfaces to `packages/shared`. - Replace service-specific Zod schemas with the centralized shared configuration. - Refactor `services/backend` and `services/discord-gateway` to consume shared config and types. - Remove redundant type definitions and local configuration logic in services. - Update `packages/shared` exports to include new `config` and `moderation-types` modules. - Clean up unused files and deprecated utility functions in `packages/shared`.
29 lines
674 B
JSON
29 lines
674 B
JSON
{
|
|
"name": "@bete/shared",
|
|
"version": "1.0.0",
|
|
"description": "Shared utilities, types, and errors for Bete microservices",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./config": "./dist/config/index.js",
|
|
"./errors": "./dist/errors/index.js",
|
|
"./logger": "./dist/logger/index.js",
|
|
"./utils": "./dist/utils/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"pino": "^9.0.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|