fix: add exports fields to pi-tui and pi-agent-core packages (#991)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
TÂCHES 2026-03-17 17:05:47 -06:00 committed by GitHub
parent 2df7a2320b
commit 4cb5f8dbca
2 changed files with 13 additions and 1 deletions

View file

@ -5,6 +5,12 @@
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json"
},

View file

@ -3,8 +3,14 @@
"version": "0.57.1",
"description": "Terminal User Interface library (vendored from pi-mono)",
"type": "module",
"main": "dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json"
},