Skip to content

Commit e4a22d2

Browse files
jchrisclaude
andcommitted
fix(cli): add exports field to core-cli package.json (#1774)
Fixes DEP0151 deprecation warnings on every import by declaring the entry point explicitly instead of relying on Node's default index.js resolution. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 90d1467 commit e4a22d2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cli/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "0.0.0",
44
"description": "Live ledger for the web.",
55
"type": "module",
6+
"exports": {
7+
".": "./index.js"
8+
},
69
"bin": {
710
"core-cli": "run.js"
811
},

0 commit comments

Comments
 (0)