managarten/packages/shared-nestjs-auth/package.json
Wuesteon 942c588e15 🔒️ feat(auth): centralize JWT validation via mana-core-auth
- Create @manacore/shared-nestjs-auth package with JwtAuthGuard
- Update @mana-core/nestjs-integration to validate tokens via auth service
- Replace insecure local JWT decode with server-side validation
- Integrate Zitare, Presi, ManaDeck backends with centralized auth
- Add DEV_BYPASS_AUTH support for development mode
- Document auth architecture in CLAUDE.md
2025-12-01 17:16:21 +01:00

33 lines
706 B
JSON

{
"name": "@manacore/shared-nestjs-auth",
"version": "1.0.0",
"description": "Shared authentication utilities for NestJS backends - JWT validation via Mana Core Auth",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"prepublishOnly": "pnpm build"
},
"files": [
"dist"
],
"peerDependencies": {
"@nestjs/common": "^10.0.0 || ^11.0.0",
"@nestjs/config": "^3.0.0 || ^4.0.0"
},
"devDependencies": {
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.0.0",
"@types/node": "^20.0.0",
"typescript": "^5.0.0"
},
"keywords": [
"nestjs",
"auth",
"jwt",
"manacore"
],
"author": "Mana Core Team",
"license": "MIT"
}