managarten/packages/shared-nestjs-setup/package.json
Till-JS f556665ac2 fix(shared-nestjs-setup): export compiled JS instead of TypeScript
The package was incorrectly exporting src/index.ts which causes runtime
errors when used with plain Node.js. Changed to export from dist/.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:19:39 +01:00

35 lines
778 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"
}
}