It compiles itself on install and then shipped everything except the result. With no explicit file list npm falls back to .gitignore, which ignores dist — so every consumer received a package whose every entry point pointed at a directory that had just been built and then excluded. The workaround for this lived in mesh-tools, which compiled the dependency by hand after installing it.
28 lines
731 B
JSON
28 lines
731 B
JSON
{
|
|
"name": "@novox/mesh-sdk",
|
|
"version": "0.1.0",
|
|
"description": "The stable spine a Novox Mesh module's own code builds against.",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./contracts": "./dist/contracts/index.js",
|
|
"./provisioner": "./dist/provisioner/index.js",
|
|
"./tools": "./dist/tools/index.js",
|
|
"./messaging": "./dist/messaging/index.js",
|
|
"./events": "./dist/events/index.js",
|
|
"./primitives": "./dist/primitives/index.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "node --test --experimental-strip-types 'test/*.test.ts'",
|
|
"prepare": "tsc"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.6.0"
|
|
}
|
|
}
|