mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
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:
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user