Files
pezkuwi-wasm/packages/wasm-crypto-init/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

41 lines
1.1 KiB
JSON

{
"author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm/issues",
"description": "Init handlers for wasm-crypto",
"engines": {
"node": ">=18"
},
"homepage": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm/tree/master/packages/wasm-crypto-init#readme",
"license": "Apache-2.0",
"name": "@pezkuwi/wasm-crypto-init",
"repository": {
"directory": "packages/wasm-crypto-init",
"type": "git",
"url": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "7.5.19",
"browser": "wasm.js",
"main": "wasm.js",
"react-native": "asm.js",
"dependencies": {
"@pezkuwi/wasm-bridge": "7.5.19",
"@pezkuwi/wasm-crypto-asmjs": "7.5.19",
"@pezkuwi/wasm-crypto-wasm": "7.5.19",
"@pezkuwi/wasm-util": "7.5.19",
"tslib": "^2.7.0"
},
"devDependencies": {
"@pezkuwi/util": "^14.0.1",
"@pezkuwi/x-randomvalues": "^14.0.1"
},
"peerDependencies": {
"@pezkuwi/util": "*",
"@pezkuwi/x-randomvalues": "*"
}
}