fix(credit-operations): point package exports to compiled dist/ instead of raw src/

The package.json was pointing main/exports to src/index.ts which crashes in production
Docker containers where Node runs CJS and can't handle ESM export tokens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-26 20:03:22 +01:00
parent 326acf0eaa
commit 2b0b902ba3

View file

@ -3,13 +3,12 @@
"version": "1.0.0",
"private": true,
"description": "Central credit operation definitions and costs for all Mana apps",
"main": "src/index.ts",
"types": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts",
"default": "./src/index.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {