managarten/packages/shared-nestjs-setup/package.json
Till JS 217c48663b feat(swagger): add OpenAPI documentation to calendar, contacts, and todo backends
- Extend shared-nestjs-setup bootstrapApp with optional swagger config
- Auto-setup Swagger/OpenAPI when swagger: true is passed
- Add @nestjs/swagger as optional peer dependency
- Enable swagger in calendar (:3014/api/docs), contacts (:3015/api/docs), todo (:3018/api/docs)
- Migrate todo main.ts from custom bootstrap to shared bootstrapApp
- JWT Bearer auth configured in Swagger UI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 12:38:28 +01:00

41 lines
897 B
JSON

{
"name": "@manacore/shared-nestjs-setup",
"version": "1.0.0",
"description": "Shared NestJS bootstrap utilities for ManaCore backends",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@nestjs/common": "^10.0.0 || ^11.0.0",
"@nestjs/core": "^10.0.0 || ^11.0.0",
"express": "^4.21.0"
},
"devDependencies": {
"@manacore/shared-tsconfig": "workspace:*",
"@types/express": "^4.17.21",
"@types/node": "^22.10.2",
"typescript": "^5.0.0"
},
"peerDependencies": {
"@nestjs/common": "^10.0.0 || ^11.0.0",
"@nestjs/core": "^10.0.0 || ^11.0.0",
"@nestjs/swagger": "^8.0.0 || ^7.0.0"
},
"peerDependenciesMeta": {
"@nestjs/swagger": {
"optional": true
}
}
}