- RouterAuthGuard: validate Router-Authorization header (ADR-036) - DataLoader factory: request-scoped batching (ADR-035) - ScopeTokenService: Redis-backed scope token (ADR-041) - GraphqlContext: build context from HTTP headers - FederationExceptionFilter: HTTP-to-GraphQL error mapping
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"name": "@edu/shared-ts",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./outbox": {
|
|
"types": "./dist/outbox/index.d.ts",
|
|
"default": "./dist/outbox/index.js"
|
|
},
|
|
"./bff": {
|
|
"types": "./dist/bff/index.d.ts",
|
|
"default": "./dist/bff/index.js"
|
|
},
|
|
"./federation": {
|
|
"types": "./dist/federation/index.d.ts",
|
|
"default": "./dist/federation/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@grpc/grpc-js": "^1.12.0",
|
|
"@grpc/proto-loader": "^0.7.13",
|
|
"@nestjs/common": "^10.4.0",
|
|
"@nestjs/core": "^10.4.0",
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
|
"dataloader": "^2.2.2",
|
|
"drizzle-orm": "^0.31.0",
|
|
"graphql": "^16.9.0",
|
|
"graphql-yoga": "^5.7.0",
|
|
"ioredis": "^5.4.0",
|
|
"kafkajs": "^2.2.4",
|
|
"pino": "^9.4.0",
|
|
"prom-client": "^15.1.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"pino-pretty": "^11.2.0",
|
|
"typescript": "^5.6.0"
|
|
}
|
|
}
|