Rewired all 4 services: - lib/errors.ts → re-exports from @bytelyst/errors - lib/cosmos.ts → re-exports from @bytelyst/cosmos - lib/product-config.ts → uses loadProductIdentity()/getProductId() from @bytelyst/config - lib/config.ts → kept self-contained (zod v3/v4 type mismatch with loadConfig) Added workspace deps (@bytelyst/errors, @bytelyst/cosmos, @bytelyst/config) to all 4 services. Added docker-compose.yml with Loki, Grafana, Traefik, and all 4 services. Added .env.example with required env vars. Added passWithNoTests to vitest.config.ts. Pinned root zod to ^3.24.0 to match service zod versions. All 12 projects build. 175 tests passing.
27 lines
586 B
JSON
27 lines
586 B
JSON
{
|
|
"name": "@bytelyst/root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"test": "pnpm -r test",
|
|
"typecheck": "pnpm -r exec tsc --noEmit",
|
|
"clean": "pnpm -r exec rm -rf dist"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@azure/cosmos": ">=4.0.0",
|
|
"bcryptjs": ">=2.4.0",
|
|
"jose": ">=5.0.0",
|
|
"react": ">=18.0.0",
|
|
"zod": "^3.24.0"
|
|
}
|
|
}
|