mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
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>
This commit is contained in:
parent
ad22d264aa
commit
f556665ac2
1 changed files with 9 additions and 3 deletions
|
|
@ -2,11 +2,17 @@
|
|||
"name": "@manacore/shared-nestjs-setup",
|
||||
"version": "1.0.0",
|
||||
"description": "Shared NestJS bootstrap utilities for ManaCore backends",
|
||||
"main": "./src/index.ts",
|
||||
"types": "./src/index.ts",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"type-check": "tsc --noEmit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue