Ship core's dist, whatever packs it

10.0.6 went out with 13 files and no dist/, so every import of it failed: the
repo gitignores **/dist and the package named no files, which left the packed
contents up to whichever tool packed it. A files field settles that. types also
pointed at dist/index.d.ts, which tsc never emits — the declarations are under
dist/esm — so exports now names the types beside the code it describes.

10.0.7 is published with all 61 files and installs clean; 10.0.6 is deprecated.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-17 08:51:01 -07:00
co-authored by Hanzo Dev
parent eb72965d75
commit 5e8d4fb57e
+7 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@luxfi/core",
"version": "10.0.6",
"version": "10.0.7",
"description": "Core types and shared utilities related to blockchain",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
@@ -26,12 +26,16 @@
},
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"types": "./dist/index.d.ts",
"types": "./dist/esm/index.d.ts",
"devDependencies": {
"typescript": "^6.0.3"
}
},
"files": [
"dist"
]
}