Files
pezkuwi-wasm/packages/wasm-util/package.json
T
Satoshi Qazi MuhammedandClaude Opus 5.5 85803931d6 Restore the source package manifests; check the built ones in CI
The six wasm packages carried the build's rewritten package.json as their
source: exports, browser and react-native pointing at ./build/cjs/*, main at
./build/cjs/index.js. The build rewrote them again, so the published 7.5.17
and 7.5.19 had exports naming files that are not in the package (init's
"." resolved to ./build/cjs/wasm.js) and './package.json' spread into an
object of characters. This is the January 2026 ./cjs/cjs/ fault in another
form; its cause was committing built manifests, not the build script.

main, module, types, exports, browser, react-native and sideEffects are back
to the form of the upstream sources they were renamed from; the build
generates the rest. scure-sr25519 has no upstream counterpart and a
consistent hand-written manifest, so it is left as it is.

CI now checks every build/package.json: each entry point must name a file
that is there, with no ./build/ or ./cjs/cjs/ path, no numeric keys in
exports and no workspace/portal ranges. Red on the 7.5.19 build, green on
this one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 09:36:56 +04:00

33 lines
855 B
JSON

{
"author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm/issues",
"description": "Utilities used exclusively inside Wasm decoding",
"engines": {
"node": ">=18"
},
"homepage": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm/tree/master/packages/wasm-util#readme",
"license": "Apache-2.0",
"name": "@pezkuwi/wasm-util",
"repository": {
"directory": "packages/wasm-util",
"type": "git",
"url": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "7.5.19",
"main": "index.js",
"dependencies": {
"tslib": "^2.7.0"
},
"devDependencies": {
"@pezkuwi/util": "^14.0.1"
},
"peerDependencies": {
"@pezkuwi/util": "*"
}
}