From bcd603bf4b3828f5c3841c9299cb6fecbb980989 Mon Sep 17 00:00:00 2001 From: UneBaguette <28904802+UneBaguette@users.noreply.github.com> Date: Wed, 22 Apr 2026 18:54:37 +0200 Subject: [PATCH] fix: include README in npm package --- build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 064eb5c..9a32b7e 100644 --- a/build.sh +++ b/build.sh @@ -4,6 +4,8 @@ set -euo pipefail ROOT="pkg" rm -rf "$ROOT" +cp README.md "$ROOT/README.md" + echo "Building bundler target..." wasm-pack build --target bundler -d "$ROOT/bundler" @@ -51,7 +53,7 @@ rm -f "$ROOT/bundler/.gitignore" "$ROOT/node/.gitignore" "$ROOT/web/.gitignore" cat > "$ROOT/package.json" << 'EOF' { "name": "blake3-wasm-rs", - "version": "0.2.0", + "version": "0.2.1", "description": "BLAKE3 hashing via Rust/WASM - works in Node.js (CJS + ESM), browsers, and bundlers", "license": "MIT", "repository": { @@ -73,7 +75,8 @@ cat > "$ROOT/package.json" << 'EOF' "node/", "node-esm/", "bundler/", - "web/" + "web/", + "README.md" ], "keywords": [ "blake3",