mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 21:39:39 +02:00
- 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>
41 lines
897 B
JSON
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
|
|
}
|
|
}
|
|
}
|